Eglot: tests must work on 26.3

;; IMPORTANT: Since Eglot is a :core ELPA package, these tests are
;; supposed to run on Emacsen down to 26.3.  Do not use bleeding-edge
;; functionality not compatible with that Emacs version.

* test/lisp/progmodes/eglot-tests.el (eglot--call-with-timeout):
Back to cl-gensym.
This commit is contained in:
João Távora 2025-03-08 04:42:21 +00:00
parent 1efcd32cda
commit 331492a148

View file

@ -165,7 +165,7 @@ directory hierarchy."
`(eglot--call-with-timeout ,timeout (lambda () ,@body)))
(defun eglot--call-with-timeout (timeout fn)
(let* ((tag (gensym "eglot-test-timeout"))
(let* ((tag (cl-gensym "eglot-test-timeout"))
(timed-out (make-symbol "timeout"))
(timeout-and-message
(if (listp timeout) timeout