From: Barry Warsaw Date: Wed, 6 Mar 1996 20:32:27 +0000 (+0000) Subject: (python-font-lock-keywords): make it a defconst X-Git-Tag: v1.4b1~306 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62d9d6ed4061fb212da35625a9bbf7aefc061b9a;p=python (python-font-lock-keywords): make it a defconst --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 1b0029667d..f770158586 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -185,7 +185,7 @@ equal , `tab-width' is set to , a message saying so is 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 @@ the Emacs bell is also rung as a warning.") '("\\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.") ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^