summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-03-06 20:32:27 (GMT)
committerBarry Warsaw <barry@python.org>1996-03-06 20:32:27 (GMT)
commit62d9d6ed4061fb212da35625a9bbf7aefc061b9a (patch)
treee16377823619b0b74241dcfe710600dfe3b984b9 /Misc/python-mode.el
parent391b4e60e6ecf76648c0e25d59c22775f20dfb27 (diff)
downloadcpython-62d9d6ed4061fb212da35625a9bbf7aefc061b9a.zip
cpython-62d9d6ed4061fb212da35625a9bbf7aefc061b9a.tar.gz
cpython-62d9d6ed4061fb212da35625a9bbf7aefc061b9a.tar.bz2
(python-font-lock-keywords): make it a defconst
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r--Misc/python-mode.el4
1 files 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 <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.")
;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^