Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 4188:c796ae115783 legacy-trunk
(python-mode): font-lock-defaults necessary for Emacs 19, but doesn't
hurt for XEmacs.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Tue, 03 Sep 1996 16:38:30 +0000 |
| parents | 8bbecf683a50 |
| children | 03f2c21aecaf |
line wrap: on
line diff
--- a/Misc/python-mode.el Tue Sep 03 16:16:04 1996 +0000 +++ b/Misc/python-mode.el Tue Sep 03 16:38:30 1996 +0000 @@ -662,7 +662,9 @@ (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
