mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
(python-mode): font-lock-defaults necessary for Emacs 19, but doesn't
hurt for XEmacs.
This commit is contained in:
parent
c72ad871ba
commit
b1f895150a
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
(set-syntax-table py-mode-syntax-table)
|
||||||
(setq major-mode 'python-mode
|
(setq major-mode 'python-mode
|
||||||
mode-name "Python"
|
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)
|
(use-local-map py-mode-map)
|
||||||
;; add the menu
|
;; add the menu
|
||||||
(if py-menu
|
(if py-menu
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue