From: Garret Buell Date: Wed, 15 Dec 2021 21:17:26 +0000 (-0800) Subject: Mark eglot-completion-at-point capf "non-exclusive" X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~119 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=907bfe2a93ad172a854979cede87ee0460e33ddd;p=emacs.git Mark eglot-completion-at-point capf "non-exclusive" Add :exclusive 'no to eglot-completion-at-point results marking it as non-exclusive. This will allow completion to fall back to other less precise completion backends (e.g. dabbrev) if Eglot's returns no results. * eglot.el (eglot-completion-at-point): Set :exclusive to 'no Copyright-paperwork-exempt: Yes GitHub-reference: close https://github.com/joaotavora/eglot/issues/770 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index d8890209129..5fbf9a73616 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2415,6 +2415,7 @@ is not active." (regexp-opt (cl-coerce (cl-getf completion-capability :triggerCharacters) 'list)) (line-beginning-position)))) + :exclusive 'no :exit-function (lambda (proxy status) (when (eq status 'finished)