Add a face to \\= doc string escapes

* lisp/emacs-lisp/lisp-mode.el (lisp-fdefs): Add a face to \\= doc
string escapes (bug#55783).
This commit is contained in:
Lars Ingebrigtsen 2022-06-04 13:43:58 +02:00
parent 01b192534a
commit f0189819d8

View file

@ -485,6 +485,9 @@ This will generate compile-time constants from BINDINGS."
;; Words inside , '' and `' tend to be symbol names.
(,(concat "[`']\\(" lisp-mode-symbol-regexp "\\)[']")
(1 font-lock-constant-face prepend))
;; \\= tends to be an escape in doc strings.
("\\\\\\\\="
(0 font-lock-builtin-face prepend))
;; Constant values.
(,(concat "\\_<:" lisp-mode-symbol-regexp "\\_>")
(0 font-lock-builtin-face))