summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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