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

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

bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword


From: Lars Ingebrigtsen
Subject: bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword
Date: Wed, 19 Aug 2020 14:20:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Anders Lindgren <andlind@gmail.com> writes:

> The attached patch fix the problem. It considers '(xxx) not to be a function 
> calling
> position (like before), but #'(xxx) is (unlike before).

[...]

> -        (or (eql (char-before) ?\')
> +        (or (and (eql (char-before) ?\')
> +                 (not (eq (char-before (- (point) 1) ?#))))

It seemed like everybody in the thread agreed that this was the correct
solution, so I applied it to Emacs 28 (after fixing it slightly).

-- 
(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]