mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Eglot: fix bug in eglot--semtok-font-lock
The entry condition to eglot--semtok-font-lock-1, which checks if the region to refontify is contained in the recorded region in eglot--semtok-cache was blatantly wrong. It used 'beg' twice! * lisp/progmodes/eglot.el (eglot--semtok-font-lock): Fix bug.
This commit is contained in:
parent
f83c35788a
commit
f772fe526a
1 changed files with 1 additions and 1 deletions
|
|
@ -4738,7 +4738,7 @@ lock machinery calls us again."
|
|||
(cond ((and (eq (plist-get eglot--semtok-cache :documentVersion)
|
||||
eglot--versioned-identifier)
|
||||
(and (<= (plist-get eglot--semtok-cache :from) beg)
|
||||
(<= beg (plist-get eglot--semtok-cache :to))))
|
||||
(<= end (plist-get eglot--semtok-cache :to))))
|
||||
(eglot--semtok-font-lock-1 beg end))
|
||||
(t
|
||||
(eglot--semtok-font-lock-2 beg end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue