]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Improve fontifying of #| ... |# in `lisp-mode'"
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jan 2021 06:59:40 +0000 (07:59 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jan 2021 06:59:40 +0000 (07:59 +0100)
This reverts commit 1275dc4711af77c9c223063dcd149d782d497463.

Setting comment-end isn't the correct thing to do -- it makes M-; insert that string.

lisp/emacs-lisp/lisp-mode.el

index 3918fa01b2a90dff64448fcac62d25b2ba0b542b..c96d849d4425fbf5b46c6b91ce63baffdd0f66b7 100644 (file)
@@ -775,7 +775,6 @@ 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 ()