summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-08-13 16:19:53 -0400
committerKyle Meyer <kyle@kyleam.com>2016-08-13 16:19:53 -0400
commit33559ccbef32ded4f7d72c61555dff44a7e114e8 (patch)
tree279e21503c63d6d487ef4035b3b7a1a01a699c73
parent1c355e15a52e6b0d3a581b405dd082bc56f488cc (diff)
downloademacs.d-33559ccbef32ded4f7d72c61555dff44a7e114e8.tar.gz
message-confirm-sender: Use y-or-n-p
-rw-r--r--lisp/km-mail.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/km-mail.el b/lisp/km-mail.el
index 35355c5..5746a3e 100644
--- a/lisp/km-mail.el
+++ b/lisp/km-mail.el
@@ -144,8 +144,8 @@ to group buffer instead of moving to next group."
(defun km/message-confirm-sender ()
"Stop sending message from the wrong address."
- (unless (yes-or-no-p (format "Send message from %s?"
- (message-field-value "From")))
+ (unless (y-or-n-p (format "Send message from %s?"
+ (message-field-value "From")))
(user-error "Not sending message")))