From 413047a827189590fa4ee797b3fb6f5866c5d0ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 8 Mar 2025 04:42:21 +0000 Subject: [PATCH] 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. (cherry picked from commit 331492a148588991af5ce9a24a2020b3d380e03f) --- test/lisp/progmodes/eglot-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index 2b6e09a4d16..07e96fad588 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 (gensym "eglot-test-timeout")) + (let* ((tag (cl-gensym "eglot-test-timeout")) (timed-out (make-symbol "timeout")) (timeout-and-message (if (listp timeout) timeout -- 2.39.5