branch: externals/vertico commit 31b49e8658bd19b75b3554543724a031b9f3ca20 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Revert usage of current-minibuffer-command, this is broken --- extensions/vertico-repeat.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/extensions/vertico-repeat.el b/extensions/vertico-repeat.el index 7dd42d7..9f90635 100644 --- a/extensions/vertico-repeat.el +++ b/extensions/vertico-repeat.el @@ -69,11 +69,7 @@ "Save Vertico status for `vertico-repeat'." (when vertico--input (unless vertico-repeat--restore - ;; On Emacs 28, current-minibuffer-command is better than this-command. - ;; It is consistent if a command prompts multiple times. - (setq vertico-repeat--command (if (boundp 'current-minibuffer-command) - current-minibuffer-command - this-command) + (setq vertico-repeat--command this-command vertico-repeat--input "" vertico-repeat--candidate nil vertico-repeat--restore nil))