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

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

bug#23603: 25.1.50; [js-mode] void-function js--font-lock-keywords-3


From: Dmitry Gutov
Subject: bug#23603: 25.1.50; [js-mode] void-function js--font-lock-keywords-3
Date: Tue, 24 May 2016 01:07:03 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1

Hi John,

Thanks for the report.

On 05/23/2016 07:05 PM, John Ledbetter wrote:

When enabling js-mode, font lock does not work (no syntax
highlighting). *Messages* indicates the following:

Error during redisplay: (jit-lock-function 18) signaled (void-function 
js--font-lock-keywords-3) [14 times]
Error during redisplay: (jit-lock-function 1) signaled (void-function 
js--font-lock-keywords-3)
Error during redisplay: (jit-lock-function 18) signaled (void-function 
js--font-lock-keywords-3) [5 times]

It comes from a change hidden in a commit with an innocuous message, 4deb5bd9b1d400b9f932053eb6900e5700414ce8. The change is:

-  (setq-local font-lock-defaults (list js--font-lock-keywords))
+  (setq-local font-lock-defaults '(js--font-lock-keywords))

I don't see a better fix for this except by reverting it (or using a quasiquote). Stefan?





reply via email to

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