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

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

bug#74673: 30.0.92; face warning on legal elisp syntax


From: Eli Zaretskii
Subject: bug#74673: 30.0.92; face warning on legal elisp syntax
Date: Tue, 03 Dec 2024 21:02:17 +0200

> From: Christopher Howard <christopher@librehacker.com>
> Date: Tue, 03 Dec 2024 09:49:03 -0900
> 
> Hi, in Elisp buffers, I am occasionally seeing a face warning (red colored on 
> my system) for what appears to be fully legal and functional syntax. Here is 
> a recent example:
> 
> 1. emacs -Q
> 2. paste the following into the *scratch* buffer
> 
> ``` elisp
> (t-transduce
>  (t-scan
>   (lambda (s c)
>     (concatenate 'string s (string c))) "")
>  #'t-cons
>  "hello")
> ```
> 
> On my system, the text «"")», at the end of the «concatenate» line, is given 
> font-lock-warning-face. Is this a bug, or some kind of warning about bad 
> elisp style?

The latter, I think.  If you insert a newline before that "", does the
warning face go away?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]