Subject: bug#43265: 28.0.50; Inconsistent fontifying in elisp-mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 24 Jan 2021 21:16:33 +0100

Eli Zaretskii <[email-masked]> writes:

>> Before this, special forms and macros were handled in the same way, but
>> the commit message doesn't really explain why this was changed.
>
>   https://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00327.html

Skimming that thread, I can't see any explanation for why we don't check
that special forms are in a function position, while we do that for
macros?

I.e.,

(setq a '(if a b))

is currently fontified incorrectly, while

(setq a '(when a b))

is fontified correctly.

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