Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 6726:4f3642a20137 legacy-trunk
(python-mode): Patch to make font-lock work automatically for Emacs.
Unnecessary for XEmacs, but oh well...
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Tue, 02 Dec 1997 22:01:04 +0000 |
| parents | 283d1ca585d9 |
| children | 9c9a87b5bb17 |
line wrap: on
line diff
--- a/Misc/python-mode.el Tue Dec 02 21:51:57 1997 +0000 +++ b/Misc/python-mode.el Tue Dec 02 22:01:04 1997 +0000 @@ -851,6 +851,7 @@ (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
