diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-05 03:41:35 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-05 03:41:35 +0000 |
commit | 5504f993f90e5203f8447d2da34400364522e25d (patch) | |
tree | 32a2a829212d1102c0aa273277689e8d151321da /lisp/mail/reporter.el | |
parent | 523e929122415f6bad52eca72af3222c90caebcf (diff) | |
download | emacs-5504f993f90e5203f8447d2da34400364522e25d.tar.gz |
(reporter-compose-outgoing): Use functionp,
not fboundp, to test validity of COMPOSE.
Diffstat (limited to 'lisp/mail/reporter.el')
-rw-r--r-- | lisp/mail/reporter.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el index 7045e6cb9ea..c041ed620b9 100644 --- a/lisp/mail/reporter.el +++ b/lisp/mail/reporter.el @@ -311,11 +311,11 @@ composed.") (compose (get mail-user-agent 'composefunc))) ;; Sanity check. If this fails then we'll try to use the SENDMAIL ;; protocol, otherwise we must signal an error. - (if (not (and compose (fboundp compose))) + (if (not (and compose (functionp compose))) (progn (setq agent 'sendmail-user-agent compose (get agent 'composefunc)) - (if (not (and compose (fboundp compose))) + (if (not (and compose (functionp compose))) (error "Could not find a valid `mail-user-agent'") (ding) (message "`%s' is an invalid `mail-user-agent'; using `sendmail-user-agent'" |