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

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

bug#55784: 29.0.50; No match 2 in highlight (2 font-lock-function-name-f


From: Juri Linkov
Subject: bug#55784: 29.0.50; No match 2 in highlight (2 font-lock-function-name-face prepend)
Date: Fri, 03 Jun 2022 20:35:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

Some regression in the last few days broke font-lock,
and outputs to the *Messages* buffer a lot of such errors:

  Error during redisplay: (jit-lock-function 7571) signaled
 (error "No match 2 in highlight (2 font-lock-function-name-face prepend)")

Grepping for "font-lock-function-name-face prepend"
found this recent change in 1d4e903417:

  diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
  index 5b93f145e8..0492f25dc9 100644
  --- a/lisp/emacs-lisp/lisp-mode.el
  +++ b/lisp/emacs-lisp/lisp-mode.el
  @@ -430,7 +436,8 @@ lisp--match-confusable-symbol-character
                nil t))
           ;; Emacs Lisp autoload cookies.  Supports the slightly different
           ;; forms used by mh-e, calendar, etc.
  -        ("^;;;###\\([-a-z]*autoload\\)" 1 font-lock-warning-face prepend))
  +        (,lisp-mode-autoload-regexp (3 font-lock-warning-face prepend)
  +                                    (2 font-lock-function-name-face 
prepend)))
         "Subdued level highlighting for Emacs Lisp mode.")





reply via email to

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