GNU bug report logs -
#23603
25.1.50; [js-mode] void-function js--font-lock-keywords-3
Previous Next
Reported by: John Ledbetter <john <at> callrail.com>
Date: Mon, 23 May 2016 16:06:01 UTC
Severity: normal
Found in version 25.1.50
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 23603 <at> debbugs.gnu.org (full text, mbox):
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?
This bug report was last modified 9 years and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.