Revert "Eglot: tests must work on 26.3"

This reverts commit 331492a148.

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
This commit is contained in:
João Távora 2025-03-08 05:20:30 +00:00
parent d81cdf9fd2
commit 02f9b525fc

View file

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