emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 1275dc4: Improve fontifying of #| ... |# in `lisp-mode'


From: Stefan Monnier
Subject: Re: master 1275dc4: Improve fontifying of #| ... |# in `lisp-mode'
Date: Fri, 29 Jan 2021 08:50:14 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> --- 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 "|#")
>    (setq imenu-case-fold-search t))
>  
>  (defun lisp-find-tag-default ()

I think you meant to set `comment-end-skip` instead (and to a slightly
different value): the above change makes `M-;` insert `;;  |#` with
point in the middle.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]