emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico 31b49e8 2/2: Revert usage of current-minibuffer


From: ELPA Syncer
Subject: [elpa] externals/vertico 31b49e8 2/2: Revert usage of current-minibuffer-command, this is broken
Date: Sat, 9 Oct 2021 11:57:39 -0400 (EDT)

branch: externals/vertico
commit 31b49e8658bd19b75b3554543724a031b9f3ca20
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]