[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible bug? font-lock-add-keywords in minor mode and auto-mode-ali
From: |
Stefan Monnier |
Subject: |
Re: Possible bug? font-lock-add-keywords in minor mode and auto-mode-alist |
Date: |
Mon, 26 Jan 2015 15:10:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> I can reproduce this, looks like a bug.
> Could that be another occurrence of the "changing major mode kills all
> local variables" thing?
No, it looks more like when global-font-lock-mode's hook runs, it
gets fooled into thinking that the font-lock-keywords was setup for
a parent mode and needs to be re-set.
Stefan