branch: externals/ebdb
commit f7281f8e10bb902d13039d099bf44c22f2d5ca84
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Don't exit ebdb-mua-in-ebdb-buffer during minibuffer input
* ebdb-mua.el (ebdb-mua-in-ebdb-buffer): Probably I just should have
fooled with quit-restore rather than doing it this way.
---
ebdb-mua.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ebdb-mua.el b/ebdb-mua.el
index f12f5aa..2118414 100644
--- a/ebdb-mua.el
+++ b/ebdb-mua.el
@@ -1154,10 +1154,12 @@ where it was in the MUA, rather than quitting the EBDB
buffer."
(set-transient-map
key-m
(lambda ()
- ;; Keep the transient map active until the user hits "q".
- (null
- (equal (this-command-keys-vector)
- [?q]))))))
+ ;; Keep the transient map active until the user hits "q", but
+ ;; not during minibuffer input.
+ (or (minibufferp)
+ (null
+ (equal (this-command-keys-vector)
+ [?q])))))))
;;;###autoload
(defun ebdb-mua-toggle-records-format ()