From: Stefan Monnier Date: Tue, 2 Feb 2021 15:08:44 +0000 (-0500) Subject: * lisp/emacs-lisp/lisp-mode.el (lisp-mode): Also set `comment-end-skip` X-Git-Tag: emacs-28.0.90~3969 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f612d8a1fd7336541a69f0d37bc69d5618f98d1;p=emacs.git * lisp/emacs-lisp/lisp-mode.el (lisp-mode): Also set `comment-end-skip` --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 398cb76ac71..5dda3a8f8e9 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-skip "[ \t]*\\(\\s>\\||#\\)") (setq-local font-lock-comment-end-skip "|#") (setq imenu-case-fold-search t))