* url-mailto.el (url-mailto):
Call `compose-mail with `new' argument if possible.
* url-mailto.el (url-mailto): Delete mail buffer after sending
autogenerated mail.
+ Call `compose-mail with `new' argument if possible.
2005-09-13 Chong Yidong <cyd@stupidchicken.com>
(setq args (cons (list "to" to) args))))
(setq subject (cdr-safe (assoc "subject" args)))
- (if (fboundp url-mail-command) (funcall url-mail-command) (mail 'new))
+ (if (fboundp url-mail-command)
+ (if (eq url-mail-command 'compose-mail)
+ (compose-mail nil nil nil 'new)
+ (funcall url-mail-command))
+ (mail 'new))
(while args
(if (string= (caar args) "body")
(progn