From: Lars Ingebrigtsen Date: Fri, 29 Jan 2021 06:40:06 +0000 (+0100) Subject: Improve fontifying of #| ... |# in `lisp-mode' X-Git-Tag: emacs-28.0.90~4051 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1275dc4711af77c9c223063dcd149d782d497463;p=emacs.git Improve fontifying of #| ... |# in `lisp-mode' * lisp/emacs-lisp/lisp-mode.el (lisp-mode): Fontify the end delimiter in #| ... |# correctly (bug#39820). --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index c96d849d442..3918fa01b2a 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 ()