Eglot: restore compatibility to Emacs 26.3

Github-reference: https://github.com/joaotavora/eglot/discussions/1591

Can't use setf plist-get.

* lisp/progmodes/eglot.el (eglot--async-request): Use cl-getf.
This commit is contained in:
João Távora 2026-06-13 16:15:44 +01:00
parent 498eafb4f1
commit 669e93ec5d

View file

@ -2117,7 +2117,7 @@ and also used as a hint of the request cancellation mechanism (see
:timeout-fn (wrapfn timeout-fn)
moreargs)))
(when (and hint eglot-advertise-cancellation)
(push id (plist-get inflight hint)))
(push id (cl-getf inflight hint)))
id))
(cl-defun eglot--delete-overlays (&optional (prop 'eglot--overlays))