[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37074: 27.0.50; Emacs Lisp mode: Special form names used as variable
From: |
Lars Ingebrigtsen |
Subject: |
bug#37074: 27.0.50; Emacs Lisp mode: Special form names used as variable names sometimes have font-lock-keyword-face |
Date: |
Fri, 20 May 2022 03:47:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Mauro Aranda <maurooaranda@gmail.com> writes:
> Starting from emacs -Q, in the *scratch* buffer type:
> (let ((function 'foo))
> function)
>
> Note that function gets the font-lock-keyword-face. I think it shouldn't,
> because it is being used as a variable.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
This has been fixed by now.
> Similarly, if you type:
> (defun foo (function)
> nil)
>
> the same happens.
And I fixed this in Emacs 29 now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#37074: 27.0.50; Emacs Lisp mode: Special form names used as variable names sometimes have font-lock-keyword-face,
Lars Ingebrigtsen <=