diff options
| author | João Távora | 2025-03-08 05:20:30 +0000 |
|---|---|---|
| committer | João Távora | 2025-03-08 05:20:30 +0000 |
| commit | 02f9b525fc2188a57ff36ec38a60fa0032e2e547 (patch) | |
| tree | d8de74f415d19223cd631cbd3a09ffe657caf94a /test | |
| parent | d81cdf9fd23910d38f13a65ccb4909af2c2bdfd9 (diff) | |
| download | emacs-02f9b525fc2188a57ff36ec38a60fa0032e2e547.tar.gz emacs-02f9b525fc2188a57ff36ec38a60fa0032e2e547.zip | |
Revert "Eglot: tests must work on 26.3"
This reverts commit 331492a148588991af5ce9a24a2020b3d380e03f.
My bad: gensym wasn't the problem, it's available from 26.1. Incf
was the problem, in the main program file.
* test/lisp/progmodes/eglot-tests.el (eglot--with-timeout): Back to gensym
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/progmodes/eglot-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index 07e96fad588..2b6e09a4d16 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el | |||
| @@ -165,7 +165,7 @@ directory hierarchy." | |||
| 165 | `(eglot--call-with-timeout ,timeout (lambda () ,@body))) | 165 | `(eglot--call-with-timeout ,timeout (lambda () ,@body))) |
| 166 | 166 | ||
| 167 | (defun eglot--call-with-timeout (timeout fn) | 167 | (defun eglot--call-with-timeout (timeout fn) |
| 168 | (let* ((tag (cl-gensym "eglot-test-timeout")) | 168 | (let* ((tag (gensym "eglot-test-timeout")) |
| 169 | (timed-out (make-symbol "timeout")) | 169 | (timed-out (make-symbol "timeout")) |
| 170 | (timeout-and-message | 170 | (timeout-and-message |
| 171 | (if (listp timeout) timeout | 171 | (if (listp timeout) timeout |