(python-font-lock-keywords): make it a defconst

This commit is contained in:
Barry Warsaw 1996-03-06 20:32:27 +00:00
parent 391b4e60e6
commit 62d9d6ed40

View file

@ -185,7 +185,7 @@ equal <number>, `tab-width' is set to <number>, a message saying so is
displayed in the echo area, and if `py-beep-if-tab-change' is non-nil displayed in the echo area, and if `py-beep-if-tab-change' is non-nil
the Emacs bell is also rung as a warning.") 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" (let* ((keywords '("access" "and" "break" "continue"
"del" "elif" "else:" "except" "del" "elif" "else:" "except"
"except:" "exec" "finally:" "for" "except:" "exec" "finally:" "for"
@ -209,7 +209,7 @@ the Emacs bell is also rung as a warning.")
'("\\bdef[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" '("\\bdef[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)"
1 font-lock-function-name-face) 1 font-lock-function-name-face)
)) ))
"*Additional expressions to highlight in Python mode.") "Additional expressions to highlight in Python mode.")
;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^