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

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

[elpa] externals/ebdb f7281f8 4/7: Don't exit ebdb-mua-in-ebdb-buffer du


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb f7281f8 4/7: Don't exit ebdb-mua-in-ebdb-buffer during minibuffer input
Date: Fri, 14 Dec 2018 15:44:20 -0500 (EST)

branch: externals/ebdb
commit f7281f8e10bb902d13039d099bf44c22f2d5ca84
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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 ()



reply via email to

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