# HG changeset patch # User Richard M. Stallman # Date 1126933108 0 # Node ID b0580e2544c0a7c92bd9d4d7734b7e246d396857 # Parent 78b8aa2e796394e169b6b268a4c45500c9bfd867 (url-mailto): Special case `mail'. Don't test fboundp of `compose-mail'. diff -r 78b8aa2e7963 -r b0580e2544c0 lisp/url/url-mailto.el --- a/lisp/url/url-mailto.el Fri Sep 16 22:57:12 2005 +0000 +++ b/lisp/url/url-mailto.el Sat Sep 17 04:58:28 2005 +0000 @@ -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