From: Barry Warsaw Date: Tue, 2 Dec 1997 22:01:04 +0000 (+0000) Subject: (python-mode): Patch to make font-lock work automatically for Emacs. X-Git-Tag: v1.5b2~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c38bf6c62eb9590fb0616120e51aeac220bfc0a;p=python (python-mode): Patch to make font-lock work automatically for Emacs. Unnecessary for XEmacs, but oh well... --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 140d3c0a71..9adc9cfab9 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