diff options
author | Eshel Yaron <me@eshelyaron.com> | 2024-02-01 12:30:24 +0100 |
---|---|---|
committer | Eshel Yaron <me@eshelyaron.com> | 2024-02-21 17:47:12 +0100 |
commit | e6882a5cc89d9375dfa73156db6836af19ef7b8a (patch) | |
tree | 446eca7a76257b0a54e376856e11cb58a31dbab4 /lisp/emacs-lisp/comp.el | |
parent | 35d99b1ec7c56d4a5c09af36e6bbd7f0f959cccc (diff) | |
download | emacs-e6882a5cc89d9375dfa73156db6836af19ef7b8a.tar.gz emacs-e6882a5cc89d9375dfa73156db6836af19ef7b8a.tar.bz2 emacs-e6882a5cc89d9375dfa73156db6836af19ef7b8a.zip |
; Fix mid-symbol updating/cycling completion preview
This fixes an issue where 'completion-preview-next-candidate'
would fail to take into account the part of the symbol that
follows point (the suffix) when point is at the middle of a
symbol, as well as a similar issue in 'completion-preview--show'
that would manifest with slow 'completion-at-point-functions'.
* lisp/completion-preview.el (completion-preview-next-candidate)
(completion-preview--show): Ensure that the completion preview
remains at the end of a symbol, when updating it while point is
in the middle of that symbol.
* test/lisp/completion-preview-tests.el
(completion-preview-mid-symbol-cycle): New test. (Bug#68875)
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions