]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/lisp-mode.el (lisp-mode): Also set `comment-end-skip`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 2 Feb 2021 15:08:44 +0000 (10:08 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 2 Feb 2021 15:08:44 +0000 (10:08 -0500)
lisp/emacs-lisp/lisp-mode.el

index 398cb76ac712b4777d8a4380b3d13d8ff498a173..5dda3a8f8e962983ef054696845b8fa08e2b1ea6 100644 (file)
@@ -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))