From 62d9d6ed4061fb212da35625a9bbf7aefc061b9a Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 6 Mar 1996 20:32:27 +0000 Subject: (python-font-lock-keywords): make it a defconst --- Misc/python-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 1b00296..f770158 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.") ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v0.12