mirror of https://github.com/djcb/mu.git
Merge pull request #1526 from seanfarley/smf/esc
mu4e-util: allow ESC to exit a choice selection
This commit is contained in:
commit
b2bdb8b30c
|
@ -253,6 +253,7 @@ trying an exact match."
|
|||
(while (not chosen)
|
||||
(message nil);; this seems needed...
|
||||
(setq choice (read-char-exclusive prompt))
|
||||
(if (eq choice 27) (keyboard-quit)) ;; quit if ESC is pressed
|
||||
(setq chosen (or (member choice choices)
|
||||
(member (downcase choice) choices)
|
||||
(member (upcase choice) choices))))
|
||||
|
|
Loading…
Reference in New Issue