summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-09-03 16:38:30 (GMT)
committerBarry Warsaw <barry@python.org>1996-09-03 16:38:30 (GMT)
commitb1f895150a470eefa882743a0cef11a64a3e8e3a (patch)
tree8ab4527b631303ac20fc726ddfee13d80b362411 /Misc
parentc72ad871ba206ff6b9371ab7ec21a4b999508f64 (diff)
downloadcpython-b1f895150a470eefa882743a0cef11a64a3e8e3a.zip
cpython-b1f895150a470eefa882743a0cef11a64a3e8e3a.tar.gz
cpython-b1f895150a470eefa882743a0cef11a64a3e8e3a.tar.bz2
(python-mode): font-lock-defaults necessary for Emacs 19, but doesn't
hurt for XEmacs.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 98876d8..357074e 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