From: João Távora Date: Sun, 5 Sep 2021 08:44:27 +0000 (+0100) Subject: Respect completion-regexp-alist in eglot's completion table X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~123 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67fe1c1ad5a1277f4715ef503f14e8a73a972f78;p=emacs.git Respect completion-regexp-alist in eglot's completion table See GitHub discussion https://github.com/joaotavora/eglot/issues/726 Suggested-by: Felicián Németh Suggested-by: JD Smith * eglot (eglot-completion-at-point): use all-completions. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 5fdc25327f4..e8b7ffbbb13 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2363,7 +2363,9 @@ is not active." ((null action) ; try-completion (try-completion probe (funcall proxies))) ((eq action t) ; all-completions - (cl-remove-if-not + (all-completions + "" + (funcall proxies) (lambda (proxy) (let* ((item (get-text-property 0 'eglot--lsp-item proxy)) (filterText (plist-get item :filterText)))