]> git.eshelyaron.com Git - emacs.git/commit
Eglot: unbreak completion in Emacs 26.3 (at least)
authorJoão Távora <joaotavora@gmail.com>
Wed, 22 Jan 2025 21:52:56 +0000 (21:52 +0000)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 Jan 2025 10:28:40 +0000 (11:28 +0100)
commit12a0edf496487c9e6f33d8430af8eea6a65000be
tree4bfba80873e10299cda880be491cd5e49af304a1
parentd28accd5e8c664096867cf0e5a192506731cd967
Eglot: unbreak completion in Emacs 26.3 (at least)

For reasons yet to be investigated, in some Emacs older versions,
callers of the completion table created by eglot-completion-at-point
will destroy text properties in the strings returned by the
"all-completions" call (destroy here means completely erase).  This
completely breaks Eglot completion.

(eglot-completion-at-point): Copy substrings in all-completions
call.

(cherry picked from commit 7e2f6ce0cb1e5eb2c686451836275acf234bc354)
lisp/progmodes/eglot.el