[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51230: 29.0.50; `defvar-keymap' - wrong face after `:doc'
From: |
Lars Ingebrigtsen |
Subject: |
bug#51230: 29.0.50; `defvar-keymap' - wrong face after `:doc' |
Date: |
Mon, 18 Oct 2021 09:46:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Brahimi Saifullah <brahimi.saifullah@gmail.com> writes:
> Keeping in mind the fact I'm not familiar with the intricacies of
> (e)lisp-mode,
> I came upon the function `lisp-string-after-doc-keyword-p', which,
> with a trivial change to the regexp, can fix this issue.
Yup; now fixed in Emacs 29.
> Yet I realized `defcustom' also has a `:doc' keyword,
> which is properly fontified. So maybe that functionality
> can be leveraged somehow, and the approach above is not the right thing?
`defcustom' has a doc argument, but not a keyword, so it's fontified
using a different mechanism.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no