emacs-31 669e93ec5df: Eglot: restore compatibility to Emacs 26.3
João Távora <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 669e93ec5dfe235da95ed0b7beb6c06df2384dd8 Author: João Távora <[email protected]> Commit: João Távora <[email protected]> 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. --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 8d5d7cafc3c..da6738412ac 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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))