diff options
| -rw-r--r-- | lisp/url/url-mailto.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/url/url-mailto.el b/lisp/url/url-mailto.el index 3b306bbcc85..e9d5ff6fc15 100644 --- a/lisp/url/url-mailto.el +++ b/lisp/url/url-mailto.el | |||
| @@ -92,11 +92,11 @@ | |||
| 92 | (setq args (cons (list "to" to) args)))) | 92 | (setq args (cons (list "to" to) args)))) |
| 93 | 93 | ||
| 94 | (setq subject (cdr-safe (assoc "subject" args))) | 94 | (setq subject (cdr-safe (assoc "subject" args))) |
| 95 | (if (fboundp url-mail-command) | 95 | (if (eq url-mail-command 'compose-mail) |
| 96 | (if (eq url-mail-command 'compose-mail) | 96 | (compose-mail nil nil nil 'new) |
| 97 | (compose-mail nil nil nil 'new) | 97 | (if (eq url-mail-command 'mail) |
| 98 | (funcall url-mail-command)) | 98 | (mail 'new) |
| 99 | (mail 'new)) | 99 | (funcall url-mail-command))) |
| 100 | (while args | 100 | (while args |
| 101 | (if (string= (caar args) "body") | 101 | (if (string= (caar args) "body") |
| 102 | (progn | 102 | (progn |