# HG changeset patch # User Richard M. Stallman # Date 868074095 0 # Node ID 61f38e629f6b0683cdc5f480e77ee9cf0ecdce00 # Parent c372b7e6669b4eda80c45d47328b5e41c83f1a54 (reporter-compose-outgoing): Use functionp, not fboundp, to test validity of COMPOSE. diff -r c372b7e6669b -r 61f38e629f6b lisp/mail/reporter.el --- a/lisp/mail/reporter.el Sat Jul 05 03:27:25 1997 +0000 +++ b/lisp/mail/reporter.el Sat Jul 05 03:41:35 1997 +0000 @@ -311,11 +311,11 @@ (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'"