From: kaoru Date: Wed, 26 Sep 2001 02:03:35 +0000 (+0000) Subject: * wl-draft.el (wl-draft-send): Fixed docstring and confirm X-Git-Tag: wl-2_7_5~43 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8127604a1a04f03704b21d88d6732c1ad81cdf3;p=elisp%2Fwanderlust.git * wl-draft.el (wl-draft-send): Fixed docstring and confirm message. --- diff --git a/wl/wl-draft.el b/wl/wl-draft.el index dd7be2b..3eb007a 100644 --- a/wl/wl-draft.el +++ b/wl/wl-draft.el @@ -1110,14 +1110,14 @@ If FORCE-MSGID, ignore 'wl-insert-message-id'." (defun wl-draft-send (&optional kill-when-done mes-string) "Send current draft message. -If optional argument is non-nil, current draft buffer is killed" +If KILL-WHEN-DONE is non-nil, current draft buffer is killed" (interactive) ;; Don't call this explicitly. ;; Added to 'wl-draft-send-hook (by teranisi) ;; (wl-draft-config-exec) (run-hooks 'wl-draft-send-hook) (when (or (not wl-interactive-send) - (y-or-n-p "Send current draft. OK? ")) + (y-or-n-p "Do you really want to send current draft? ")) (let ((send-mail-function 'wl-draft-raw-send) (editing-buffer (current-buffer)) (sending-buffer (wl-draft-generate-clone-buffer