Skip to content

Commit 3eca2ae

Browse files
committed
Sync eglot.el and eglot-tests.el from upstream
1 parent ef1cb65 commit 3eca2ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eglot.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,8 @@ MARKUP is either an LSP MarkedString or MarkupContent object."
21842184
(cl-loop for from = (point) then to
21852185
while (< from (point-max))
21862186
for inv = (get-text-property from 'invisible)
2187-
for to = (next-single-property-change from 'invisible)
2187+
for to = (or (next-single-property-change from 'invisible)
2188+
(point-max))
21882189
when inv
21892190
do (put-text-property from to 'invisible t)))
21902191
(string-trim (buffer-string))))))

0 commit comments

Comments
 (0)