summaryrefslogtreecommitdiff
path: root/lisp/progmodes/java-ts-mode.el
diff options
context:
space:
mode:
authorSpencer Baugh <sbaugh@catern.com>2023-04-21 14:55:00 -0400
committerEli Zaretskii <eliz@gnu.org>2023-05-02 20:54:25 +0300
commite338a8ac41d4a9fd798dda90275abe75ac071335 (patch)
treeb27cbc3c52c5ba8cf9da86609d6c9834eef1dcb4 /lisp/progmodes/java-ts-mode.el
parentfceaf230b063a0df9fb79cd5159cac4a761aba87 (diff)
downloademacs-e338a8ac41d4a9fd798dda90275abe75ac071335.tar.gz
emacs-e338a8ac41d4a9fd798dda90275abe75ac071335.tar.bz2
emacs-e338a8ac41d4a9fd798dda90275abe75ac071335.zip
Handle point not at EOB in minibuffer-choose-completion
Without this change, only the minibuffer contents before point are cleared when a completion is chosen, which results in stray text when point is in the middle of the minibuffer. After this change, we heuristically decide either to clear the whole buffer or only part of it, taking into account the location of point. This is a backport for the Emacs 29 release branch of a simpler fix in minibuffer-completion-help. * lisp/minibuffer.el (minibuffer-next-completion): (minibuffer-choose-completion): Recalculate completion-base-affixes with point. (Bug#62700)
Diffstat (limited to 'lisp/progmodes/java-ts-mode.el')
0 files changed, 0 insertions, 0 deletions