]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(python-mode): font-lock-defaults necessary for Emacs 19, but doesn't
authorBarry Warsaw <barry@python.org>
Tue, 3 Sep 1996 16:38:30 +0000 (16:38 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 3 Sep 1996 16:38:30 +0000 (16:38 +0000)
hurt for XEmacs.

Misc/python-mode.el

index 98876d85cc0cd38d353ff2ed556af115ec0b5cee..357074ee0fb9731cf92cc16e97c855ff6fa29183 100644 (file)
@@ -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