]> granicus.if.org Git - python/commitdiff
(python-font-lock-keywords): make it a defconst
authorBarry Warsaw <barry@python.org>
Wed, 6 Mar 1996 20:32:27 +0000 (20:32 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 6 Mar 1996 20:32:27 +0000 (20:32 +0000)
Misc/python-mode.el

index 1b0029667d34a0296e89e3d1797ee9c6460ed3d1..f770158586b66470b38eda23cea9e22af4772ef0 100644 (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
 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.")
 
 \f
 ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^