diff options
Diffstat (limited to 'test/lisp/progmodes')
| -rw-r--r-- | test/lisp/progmodes/eglot-tests.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index a51ef42d276..c2d67dc3530 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el | |||
| @@ -1576,7 +1576,14 @@ GUESSED-MAJOR-MODES-SYM are bound to the useful return values of | |||
| 1576 | '(3 "Timeout waiting for semantic tokens") | 1576 | '(3 "Timeout waiting for semantic tokens") |
| 1577 | (while (not (save-excursion | 1577 | (while (not (save-excursion |
| 1578 | (goto-char pos) | 1578 | (goto-char pos) |
| 1579 | (text-property-search-forward 'eglot--semtok-faces))) | 1579 | (cl-loop |
| 1580 | for from = (point) then to | ||
| 1581 | while (< from (point-max)) | ||
| 1582 | for faces = (get-text-property from 'eglot--semtok-faces) | ||
| 1583 | for to = (or (next-single-property-change | ||
| 1584 | from 'eglot--semtok-faces) | ||
| 1585 | (point-max)) | ||
| 1586 | when faces return t))) | ||
| 1580 | (accept-process-output nil 0.1) | 1587 | (accept-process-output nil 0.1) |
| 1581 | (font-lock-ensure)))) | 1588 | (font-lock-ensure)))) |
| 1582 | 1589 | ||