]> git.eshelyaron.com Git - emacs.git/commitdiff
Restore font-lock-type-face for lisp mode &symbols
authorTom Gillespie <tgbugs@gmail.com>
Sun, 4 Dec 2022 06:41:15 +0000 (22:41 -0800)
committerEli Zaretskii <eliz@gnu.org>
Sun, 4 Dec 2022 17:50:45 +0000 (19:50 +0200)
* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2)
(lisp-el-font-lock-keywords-2): Restore use of type face instead of
builtin face for &symbol keywords.  This fixes what appears to be
a copy paste error that changed the face for common lisp and emacs
lisp &symbol style keywords that was introduced in commit
a498e5f83 by restoring the type face to font-lock-type-face as
consistent with the comments.

lisp/emacs-lisp/lisp-mode.el

index 7e39a77aed5a0c41f4295c0c1cd94d760319aab4..bf87915818853fce746a21bc480adefffce6cba7 100644 (file)
@@ -514,7 +514,7 @@ This will generate compile-time constants from BINDINGS."
           (0 font-lock-builtin-face))
          ;; ELisp and CLisp `&' keywords as types.
          (,(lambda (bound) (lisp-mode--search-key "&" bound))
-          (0 font-lock-builtin-face))
+          (0 font-lock-type-face))
          ;; ELisp regexp grouping constructs
          (,(lambda (bound)
              (catch 'found
@@ -567,7 +567,7 @@ This will generate compile-time constants from BINDINGS."
           (0 font-lock-builtin-face))
          ;; ELisp and CLisp `&' keywords as types.
          (,(lambda (bound) (lisp-mode--search-key "&" bound))
-          (0 font-lock-builtin-face))
+          (0 font-lock-type-face))
          ;; ELisp regexp grouping constructs
          ;; This is too general -- rms.
          ;; A user complained that he has functions whose names start with `do'