Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 3436:db9f6ede58a7 legacy-trunk
(python-font-lock-keywords): make it a defconst
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 06 Mar 1996 20:32:27 +0000 |
| parents | 529f4d9cbe3d |
| children | 07977bf0d997 |
line wrap: on
line diff
--- a/Misc/python-mode.el Wed Mar 06 19:11:33 1996 +0000 +++ b/Misc/python-mode.el Wed Mar 06 20:32:27 1996 +0000 @@ -185,7 +185,7 @@ displayed in the echo area, and if `py-beep-if-tab-change' is non-nil the Emacs bell is also rung as a warning.") -(defvar python-font-lock-keywords +(defconst python-font-lock-keywords (let* ((keywords '("access" "and" "break" "continue" "del" "elif" "else:" "except" "except:" "exec" "finally:" "for" @@ -209,7 +209,7 @@ '("\\bdef[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" 1 font-lock-function-name-face) )) - "*Additional expressions to highlight in Python mode.") + "Additional expressions to highlight in Python mode.") ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
