From 5c38bf6c62eb9590fb0616120e51aeac220bfc0a Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 2 Dec 1997 22:01:04 +0000 Subject: [PATCH] (python-mode): Patch to make font-lock work automatically for Emacs. Unnecessary for XEmacs, but oh well... --- Misc/python-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 140d3c0a710..9adc9cfab90 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -851,6 +851,7 @@ py-beep-if-tab-change\t\tring the bell if tab-width is changed" (setq major-mode 'python-mode mode-name "Python" local-abbrev-table python-mode-abbrev-table + font-lock-defaults '(python-font-lock-keywords) paragraph-separate "^[ \t]*$" paragraph-start "^[ \t]*$" require-final-newline t