aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1998-08-03 08:52:35 +0000
committerSimon Marshall1998-08-03 08:52:35 +0000
commit39df451ba4114133c2fb0afe60b672ed7609730f (patch)
treeec02ecae4370975d13d83bcfa7785249889298bb
parent65a5c06afd122d584817b3de932e1b0a545cf570 (diff)
downloademacs-39df451ba4114133c2fb0afe60b672ed7609730f.tar.gz
emacs-39df451ba4114133c2fb0afe60b672ed7609730f.zip
(lisp-font-lock-keywords-1): Fix previous change.
(font-lock-support-mode): Allow nil as a mode-specific value. Fix tag.
-rw-r--r--lisp/font-lock.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index db0e1973812..3a410be453a 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -951,7 +951,8 @@ The value of this variable is used when Font Lock mode is turned on."
951 (radio :tag "Mode" 951 (radio :tag "Mode"
952 (const :tag "all" t) 952 (const :tag "all" t)
953 (symbol :tag "name")) 953 (symbol :tag "name"))
954 (radio :tag "Decoration" 954 (radio :tag "Support"
955 (const :tag "none" nil)
955 (const :tag "fast lock" fast-lock-mode) 956 (const :tag "fast lock" fast-lock-mode)
956 (const :tag "lazy lock" lazy-lock-mode))) 957 (const :tag "lazy lock" lazy-lock-mode)))
957 )) 958 ))
@@ -1922,7 +1923,6 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item."
1922 '(1 font-lock-keyword-face) 1923 '(1 font-lock-keyword-face)
1923 '(9 (cond ((match-beginning 3) font-lock-function-name-face) 1924 '(9 (cond ((match-beginning 3) font-lock-function-name-face)
1924 ((match-beginning 6) font-lock-variable-name-face) 1925 ((match-beginning 6) font-lock-variable-name-face)
1925 ((match-beginning 8) font-lock-variable-name-face)
1926 (t font-lock-type-face)) 1926 (t font-lock-type-face))
1927 nil t)) 1927 nil t))
1928 ;; 1928 ;;