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

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

bug#14099: 24.3.50; regression: bad font locking for `abort' in Lisp mod


From: Eli Zaretskii
Subject: bug#14099: 24.3.50; regression: bad font locking for `abort' in Lisp mode
Date: Sun, 31 Mar 2013 23:00:02 +0300

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <14099@debbugs.gnu.org>
> Date: Sun, 31 Mar 2013 12:13:43 -0700
> 
> OK, I see that someone closed it.  That's fine.
> 
> I would still like to know why `abort' is highlighted.  I can find no Emacs
> `abort' anywhere in the Emacs source code.  Can you?

It's because of this snippet from font-lock.el:

  (defconst lisp-font-lock-keywords-2
    (append lisp-font-lock-keywords-1
     (eval-when-compile
     ...
         ;; Erroneous structures.
         
("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\_>" 1 
font-lock-warning-face)

Not sure what this is supposed to catch.





reply via email to

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