]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix |# fontification in lisp-mode
authorchuntaro <chuntaro@sakura-games.jp>
Tue, 2 Feb 2021 09:18:28 +0000 (10:18 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 2 Feb 2021 09:18:28 +0000 (10:18 +0100)
* lisp/emacs-lisp/lisp-mode.el (lisp-mode): Give the |# the
correct (font-lock-comment-delimited-face) face (bug#39820).

Copyright-paperwork-exempt: yes

lisp/emacs-lisp/lisp-mode.el

index c96d849d4425fbf5b46c6b91ce63baffdd0f66b7..398cb76ac712b4777d8a4380b3d13d8ff498a173 100644 (file)
@@ -775,6 +775,7 @@ or to switch back to an existing one."
   (setq-local find-tag-default-function 'lisp-find-tag-default)
   (setq-local comment-start-skip
              "\\(\\(^\\|[^\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *")
+  (setq-local font-lock-comment-end-skip "|#")
   (setq imenu-case-fold-search t))
 
 (defun lisp-find-tag-default ()