diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-29 07:40:06 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-29 07:40:06 +0100 |
commit | 1275dc4711af77c9c223063dcd149d782d497463 (patch) | |
tree | a8b8783cee47bf39c39f924e3c5b85384041bd0b /lisp/emacs-lisp | |
parent | 3f92d0093246c6f17f04f97282f95c81a398ea30 (diff) | |
download | emacs-1275dc4711af77c9c223063dcd149d782d497463.tar.gz emacs-1275dc4711af77c9c223063dcd149d782d497463.tar.bz2 emacs-1275dc4711af77c9c223063dcd149d782d497463.zip |
Improve fontifying of #| ... |# in `lisp-mode'
* lisp/emacs-lisp/lisp-mode.el (lisp-mode): Fontify the end
delimiter in #| ... |# correctly (bug#39820).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 () |