* lisp-mode.el: Fix missing highlight of "hidden" string arg
* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2): Highlight "hidden arg" even if it already has another face.
This commit is contained in:
parent
43431f7108
commit
d6cb106a37
1 changed files with 4 additions and 2 deletions
|
@ -478,7 +478,8 @@ This will generate compile-time constants from BINDINGS."
|
||||||
(3 'font-lock-regexp-grouping-construct prepend))
|
(3 'font-lock-regexp-grouping-construct prepend))
|
||||||
(lisp--match-hidden-arg
|
(lisp--match-hidden-arg
|
||||||
(0 '(face font-lock-warning-face
|
(0 '(face font-lock-warning-face
|
||||||
help-echo "Hidden behind deeper element; move to another line?")))
|
help-echo "Hidden behind deeper element; move to another line?")
|
||||||
|
prepend))
|
||||||
(lisp--match-confusable-symbol-character
|
(lisp--match-confusable-symbol-character
|
||||||
0 '(face font-lock-warning-face
|
0 '(face font-lock-warning-face
|
||||||
help-echo "Confusable character"))
|
help-echo "Confusable character"))
|
||||||
|
@ -522,7 +523,8 @@ This will generate compile-time constants from BINDINGS."
|
||||||
(1 font-lock-keyword-face))
|
(1 font-lock-keyword-face))
|
||||||
(lisp--match-hidden-arg
|
(lisp--match-hidden-arg
|
||||||
(0 '(face font-lock-warning-face
|
(0 '(face font-lock-warning-face
|
||||||
help-echo "Hidden behind deeper element; move to another line?")))
|
help-echo "Hidden behind deeper element; move to another line?")
|
||||||
|
prepend))
|
||||||
))
|
))
|
||||||
"Gaudy level highlighting for Lisp modes.")))
|
"Gaudy level highlighting for Lisp modes.")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue