all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: John Ledbetter <john@callrail.com>, 23603@debbugs.gnu.org
Cc: Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#23603: 25.1.50; [js-mode] void-function js--font-lock-keywords-3
Date: Tue, 24 May 2016 01:07:03 +0300	[thread overview]
Message-ID: <5b9463e3-e655-c135-17d8-4af07f9777ec@yandex.ru> (raw)
In-Reply-To: <etPan.57432a4d.6147ffb6.866f@nix.local>

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	other threads:[~2016-05-23 22:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23 16:05 bug#23603: 25.1.50; [js-mode] void-function js--font-lock-keywords-3 John Ledbetter
2016-05-23 22:07 ` Dmitry Gutov [this message]
2016-05-23 23:49   ` Stefan Monnier
2016-05-24 10:10     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b9463e3-e655-c135-17d8-4af07f9777ec@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=23603@debbugs.gnu.org \
    --cc=john@callrail.com \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.