]> git.eshelyaron.com Git - emacs.git/commit
; Avoid attempting to restore stale previous completion input
authorEshel Yaron <me@eshelyaron.com>
Mon, 15 Jan 2024 19:50:01 +0000 (20:50 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 19 Jan 2024 10:08:45 +0000 (11:08 +0100)
commit853dcc12bbab990af126a36a334516722e8b21b3
tree638590a9f9777ae5d114f8d2cb97ed6b167a5e2d
parent4761c2318484e5158324741e1749aa2cb49bd834
; Avoid attempting to restore stale previous completion input

* lisp/minibuffer.el (minibuffer--cache-completion-input): Accept the
minibuffer base contents, not just its length.
(minibuffer-restore-completion-input): Ensure cached minibuffer base
is up to date before restoring.
(completion--do-completion, completion-all-sorted-completions)
(minibuffer-completion-help): Adapt.
lisp/minibuffer.el