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

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

[elpa] externals/vertico 61b96a56e6: Revert "vertico-multiform: Use curr


From: ELPA Syncer
Subject: [elpa] externals/vertico 61b96a56e6: Revert "vertico-multiform: Use current-minibuffer-command to handle multi prompt commands"
Date: Mon, 6 Mar 2023 16:59:01 -0500 (EST)

branch: externals/vertico
commit 61b96a56e601b557f1a6b8621350ca5cfd7be34c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Revert "vertico-multiform: Use current-minibuffer-command to handle multi 
prompt commands"
    
    This reverts commit 6f22ff129886a6b9292212f9897c65f919340aca.
    
    This commit introduced a problem with M-x. For `M-x some-command` the
    value of `current-minibuffer-command` is `execute-extended-command',
    instead of the command which is executed.
---
 extensions/vertico-multiform.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/extensions/vertico-multiform.el b/extensions/vertico-multiform.el
index 4b1f601a99..745e5d5800 100644
--- a/extensions/vertico-multiform.el
+++ b/extensions/vertico-multiform.el
@@ -119,11 +119,7 @@ The keys in LIST can be symbols or regexps."
                    (vertico-multiform--toggle -1)
                    (pop vertico-multiform--stack))))
     (add-hook 'minibuffer-exit-hook exit)
-    (dolist (x (cdr (or (vertico-multiform--lookup
-                         (if (boundp 'current-minibuffer-command)
-                             current-minibuffer-command ;; Available on Emacs 
28
-                           this-command)
-                         vertico-multiform-commands)
+    (dolist (x (cdr (or (vertico-multiform--lookup this-command 
vertico-multiform-commands)
                         (vertico-multiform--lookup cat 
vertico-multiform-categories))))
       (pcase x
         (`(:not . ,fs)



reply via email to

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