From 867b99d68fcd406243d5d48aef8cb072f229b5d4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 31 Jan 2021 07:59:40 +0100 Subject: [PATCH] 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. --- lisp/emacs-lisp/lisp-mode.el | 1 - 1 file changed, 1 deletion(-) 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 () -- 2.39.2