From: João Távora Date: Sun, 4 Dec 2022 13:24:00 +0000 (+0000) Subject: Update eglot.el to use the new external-completion-table X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=18e790944e231a6aa49b09a56f149dced796e939;p=emacs.git Update eglot.el to use the new external-completion-table * lisp/progmodes/eglot.el (xref-backend-identifier-completion-table): Update. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 7fe6fd6b2d7..5cc769d4b03 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2575,8 +2575,8 @@ If BUFFER, switch to it before." 0 'eglot--lsp-workspaceSymbol c) :score 0))) (external-completion-table - #'lookup 'eglot-indirection-joy + #'lookup `((cycle-sort-function . ,(lambda (completions) (cl-sort completions #'> :key #'score))))))))