diff options
author | Barry Warsaw <barry@python.org> | 1997-12-02 22:01:04 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-12-02 22:01:04 (GMT) |
commit | 5c38bf6c62eb9590fb0616120e51aeac220bfc0a (patch) | |
tree | daf5b0247d447d17840052f18956faa7685e99e0 | |
parent | 673d05f0ee0afd043e27e2694eb0e14352ce9772 (diff) | |
download | cpython-5c38bf6c62eb9590fb0616120e51aeac220bfc0a.zip cpython-5c38bf6c62eb9590fb0616120e51aeac220bfc0a.tar.gz cpython-5c38bf6c62eb9590fb0616120e51aeac220bfc0a.tar.bz2 |
(python-mode): Patch to make font-lock work automatically for Emacs.
Unnecessary for XEmacs, but oh well...
-rw-r--r-- | Misc/python-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 140d3c0..9adc9cf 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 |