emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/url/url-mailto.el


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/url/url-mailto.el
Date: Wed, 14 Sep 2005 23:30:41 -0400

Index: emacs/lisp/url/url-mailto.el
diff -c emacs/lisp/url/url-mailto.el:1.12 emacs/lisp/url/url-mailto.el:1.13
*** emacs/lisp/url/url-mailto.el:1.12   Mon Sep 12 23:02:16 2005
--- emacs/lisp/url/url-mailto.el        Thu Sep 15 03:30:39 2005
***************
*** 124,135 ****
        ;; It seems Microsoft-ish to send without warning.
        ;; Fixme: presumably this should depend on a privacy setting.
        (if (y-or-n-p "Send this auto-generated mail? ")
!         (cond ((eq url-mail-command 'compose-mail)
!                (funcall (get mail-user-agent 'sendfunc) nil))
!               ;; otherwise, we can't be sure
!               ((fboundp 'message-send-and-exit)
!                (message-send-and-exit))
!               (t (mail-send-and-exit nil)))))
      nil))
  
  (provide 'url-mailto)
--- 124,137 ----
        ;; It seems Microsoft-ish to send without warning.
        ;; Fixme: presumably this should depend on a privacy setting.
        (if (y-or-n-p "Send this auto-generated mail? ")
!         (let ((buffer (current-buffer)))
!           (cond ((eq url-mail-command 'compose-mail)
!                  (funcall (get mail-user-agent 'sendfunc) nil))
!                 ;; otherwise, we can't be sure
!                 ((fboundp 'message-send-and-exit)
!                  (message-send-and-exit))
!                 (t (mail-send-and-exit nil)))
!           (kill-buffer buffer))))
      nil))
  
  (provide 'url-mailto)




reply via email to

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