From: Lars Ingebrigtsen Date: Sun, 31 Jan 2021 06:59:40 +0000 (+0100) Subject: Revert "Improve fontifying of #| ... |# in `lisp-mode'" X-Git-Tag: emacs-28.0.90~4012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=867b99d68fcd406243d5d48aef8cb072f229b5d4;p=emacs.git Revert "Improve fontifying of #| ... |# in `lisp-mode'" This reverts commit 1275dc4711af77c9c223063dcd149d782d497463. Setting comment-end isn't the correct thing to do -- it makes M-; insert that string. --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 3918fa01b2a..c96d849d442 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -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 ()