emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a2de694: Fix |# fontification in lisp-mode


From: Lars Ingebrigtsen
Subject: master a2de694: Fix |# fontification in lisp-mode
Date: Tue, 2 Feb 2021 04:18:43 -0500 (EST)

branch: master
commit a2de694d8aa144ba1261a3c9a488d76f7cfa6728
Author: chuntaro <chuntaro@sakura-games.jp>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix |# fontification in lisp-mode
    
    * 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index c96d849..398cb76 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]