]> git.eshelyaron.com Git - emacs.git/commit
Correctly protect against zero-length completion items
authorTheodor Thornhill <theo@thornhill.no>
Wed, 3 Mar 2021 10:08:24 +0000 (11:08 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Mar 2021 10:08:24 +0000 (10:08 +0000)
commita6229c50e8e00b895eed733f2626e6209043f504
treed092cebeb790d358e940a431978cbd4aebfdd85e
parentfa3ab318fa0970b9590db92bf8230336fcbc61a7
Correctly protect against zero-length completion items

Close https://github.com/joaotavora/eglot/issues/636.

* eglot.el (eglot-completion-at-point): check for zero length string in proxy
rather than the item.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/635
lisp/progmodes/eglot.el