From: João Távora Date: Sat, 8 Mar 2025 05:20:30 +0000 (+0000) Subject: Revert "Eglot: tests must work on 26.3" X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=008b9b36770f31d441db52a927f8695bfabd75d8;p=emacs.git 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 (cherry picked from commit 02f9b525fc2188a57ff36ec38a60fa0032e2e547) --- 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." `(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