diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 98876d85cc0..357074ee0fb 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