|
From: | Clemens |
Subject: | bug#45177: 27.1; Access to invoking top level command in minibuffer |
Date: | Sat, 12 Dec 2020 14:28:10 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
(defun icicle-top-level-prep () "Do top-level stuff. Used in `pre-command-hook'." (unless (> (minibuffer-depth) 0) ;; ... <other stuff> (unless (memq this-command '(minibuffer-complete-and-exit icicle-minibuffer-complete-and-exit exit-minibuffer icicle-exit-minibuffer)) (setq icicle-last-top-level-command this-command)) ;; ... <other stuff> )) (defvar icicle-last-top-level-command nil "Last top-level command used.")
Thanks Drew! Looks like a nice workaround!
[Prev in Thread] | Current Thread | [Next in Thread] |