From: Barry Warsaw Date: Tue, 3 Sep 1996 16:38:30 +0000 (+0000) Subject: (python-mode): font-lock-defaults necessary for Emacs 19, but doesn't X-Git-Tag: v1.4~317 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1f895150a470eefa882743a0cef11a64a3e8e3a;p=thirdparty%2FPython%2Fcpython.git (python-mode): font-lock-defaults necessary for Emacs 19, but doesn't hurt for XEmacs. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 98876d85cc0c..357074ee0fb9 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -662,7 +662,9 @@ py-beep-if-tab-change\t\tring the bell if tab-width is changed" (set-syntax-table py-mode-syntax-table) (setq major-mode 'python-mode mode-name "Python" - local-abbrev-table python-mode-abbrev-table) + local-abbrev-table python-mode-abbrev-table + font-lock-defaults '(python-font-lock-keywords) + ) (use-local-map py-mode-map) ;; add the menu (if py-menu