emacs-diffs
[Top][All Lists]
Advanced

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

master 1275dc4: Improve fontifying of #| ... |# in `lisp-mode'


From: Lars Ingebrigtsen
Subject: master 1275dc4: Improve fontifying of #| ... |# in `lisp-mode'
Date: Fri, 29 Jan 2021 01:40:16 -0500 (EST)

branch: master
commit 1275dc4711af77c9c223063dcd149d782d497463
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Improve fontifying of #| ... |# in `lisp-mode'
    
    * lisp/emacs-lisp/lisp-mode.el (lisp-mode): Fontify the end
    delimiter in #| ... |# correctly (bug#39820).
---
 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..3918fa0 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 comment-end "|#")
   (setq imenu-case-fold-search t))
 
 (defun lisp-find-tag-default ()



reply via email to

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