eglot icon indicating copy to clipboard operation
eglot copied to clipboard

Avoid message-spamming when jit-lock-context-unfontify-pos nil

Open unhammer opened this issue 11 months ago • 0 comments

In js-mode, I get an error with the message

  (jit-lock--run-functions 3698 3699) [UNPR HOST api.js]: Wrong type argument: number-or-marker-p, nil

for almost every edit. The nil-check in this patch fixes it. The variable is by default nil and docs say it can be nil if contextual fontification is disabled.

unhammer avatar Mar 07 '24 09:03 unhammer