[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with debugging error from jit-lock-fontify-now
From: |
Amin Bandali |
Subject: |
Re: Help with debugging error from jit-lock-fontify-now |
Date: |
Wed, 15 Apr 2020 00:54:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>> jit-lock--run-functions(1 10813)
>> jit-lock-fontify-now()
>> hfy-force-fontification()
>
> Seems like a bug in `hfy-force-fontification` (it uses
> `jit-lock-fontify-now` without checking if `jit-lock` is activated in
> the buffer). I just installed the patch below in Emacs's `master`, can
> you confirm that it fixes the problem for you?
>
>
> Stefan
[...]
Thanks, it seems to fix the issue for me. Is the patch too evasive to
be applied to emacs-27? I'm curious as to what exactly in scpaste-index
triggers this, that the other two commands don't do. Can this be worked
around in scpaste-index in the meantime?
Thanks for your help,
amin
signature.asc
Description: PGP signature