(url-mailto): Special case `mail'.
Don't test fboundp of `compose-mail'.
This commit is contained in:
parent
cfbc3a32d7
commit
49b545fe33
1 changed files with 5 additions and 5 deletions
|
@ -92,11 +92,11 @@
|
|||
(setq args (cons (list "to" to) args))))
|
||||
|
||||
(setq subject (cdr-safe (assoc "subject" args)))
|
||||
(if (fboundp url-mail-command)
|
||||
(if (eq url-mail-command 'compose-mail)
|
||||
(compose-mail nil nil nil 'new)
|
||||
(funcall url-mail-command))
|
||||
(mail 'new))
|
||||
(if (eq url-mail-command 'compose-mail)
|
||||
(compose-mail nil nil nil 'new)
|
||||
(if (eq url-mail-command 'mail)
|
||||
(mail 'new)
|
||||
(funcall url-mail-command)))
|
||||
(while args
|
||||
(if (string= (caar args) "body")
|
||||
(progn
|
||||
|
|
Loading…
Add table
Reference in a new issue