(python-mode): font-lock-defaults necessary for Emacs 19, but doesn't

hurt for XEmacs.
This commit is contained in:
Barry Warsaw 1996-09-03 16:38:30 +00:00
parent c72ad871ba
commit b1f895150a
1 changed files with 3 additions and 1 deletions

View File

@ -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