aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/eglot.el4
-rw-r--r--test/lisp/progmodes/eglot-tests.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 05075bffc87..587b03ee1ba 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -5018,11 +5018,11 @@ See `eglot--semtok-request' implementation for details.")
5018 5018
5019(defun eglot--semtok-after-send-changes () 5019(defun eglot--semtok-after-send-changes ()
5020 ;; (trace-values "Dispatching") 5020 ;; (trace-values "Dispatching")
5021 (setf (plist-get eglot--semtok-state :dispatched) t)) 5021 (setf (cl-getf eglot--semtok-state :dispatched) t))
5022 5022
5023(cl-defun eglot--semtok-request (beg end &aux (docver eglot--docver)) 5023(cl-defun eglot--semtok-request (beg end &aux (docver eglot--docver))
5024 "Ask for tokens. Arrange for BEG..END to be font-lock flushed." 5024 "Ask for tokens. Arrange for BEG..END to be font-lock flushed."
5025 (cl-macrolet ((c (tag) `(plist-get eglot--semtok-state ,tag))) 5025 (cl-macrolet ((c (tag) `(cl-getf eglot--semtok-state ,tag)))
5026 (cl-labels 5026 (cl-labels
5027 ((req (method &optional params cont 5027 ((req (method &optional params cont
5028 &aux (buf (current-buffer))) 5028 &aux (buf (current-buffer)))
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el
index c2d67dc3530..0924058121f 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -299,7 +299,7 @@ directory hierarchy."
299 (eglot-sync-connect t) 299 (eglot-sync-connect t)
300 (eglot-connect-timeout timeout) 300 (eglot-connect-timeout timeout)
301 (eglot-server-programs 301 (eglot-server-programs
302 (if server `((,major-mode . ,(string-split server))) 302 (if server `((,major-mode . ,(split-string server)))
303 eglot-server-programs))) 303 eglot-server-programs)))
304 (apply #'eglot--connect (eglot--guess-contact)))) 304 (apply #'eglot--connect (eglot--guess-contact))))
305 305
@@ -775,7 +775,7 @@ directory hierarchy."
775 ;; This originally appeared in github#1339 775 ;; This originally appeared in github#1339
776 (skip-unless (executable-find "rust-analyzer")) 776 (skip-unless (executable-find "rust-analyzer"))
777 (skip-unless (executable-find "cargo")) 777 (skip-unless (executable-find "cargo"))
778 (skip-when (getenv "EMACS_EMBA_CI")) 778 (skip-unless (not (getenv "EMACS_EMBA_CI")))
779 (eglot--with-fixture 779 (eglot--with-fixture
780 '(("cmpl-project" . 780 '(("cmpl-project" .
781 (("main.rs" . 781 (("main.rs" .