[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20096: 25.0.50; Add Font-Lock support for subr-x macros
From: |
Stefan Monnier |
Subject: |
bug#20096: 25.0.50; Add Font-Lock support for subr-x macros |
Date: |
Thu, 12 Mar 2015 10:52:51 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Is committing the following change the right thing to do?
On that philosophical question, I think the answer would be:
not quite.
Instead, The Right Thing to do, might be to change elisp-mode's
font-lock rules so they check obarray for macros (i.e. use mapatoms +
regexp-opt to generate a macro matching all macros, and probably update
it from after-load-functions)?
That should kill several birds with a single (big) stone.
Stefan "damn I hate those birds!"