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:
parent
01b192534a
commit
f0189819d8
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue