bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23255: Running (prettify-symbols-mode) twice adds two entries to fon


From: Lars Ingebrigtsen
Subject: bug#23255: Running (prettify-symbols-mode) twice adds two entries to font-lock-keywords
Date: Sun, 28 Jul 2019 22:15:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Clément Pit--Claudel <clement.pitclaudel@live.com> writes:

> The proposed fix is to move the following snippet up, so that it runs
> in all cases, instead of just running when prettify-symbols-mode is
> turned off.
>
>     (when prettify-symbols--keywords
>       (font-lock-remove-keywords nil prettify-symbols--keywords)
>       (setq prettify-symbols--keywords nil))

Makes sense.  I've now done this on the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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