From: yamaoka Date: Fri, 15 Nov 2002 08:48:21 +0000 (+0000) Subject: Synch with the flim-1_14 branch. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=cbb485c0602d399182f693a0fdccc3cecb85ab19;p=elisp%2Fflim.git Synch with the flim-1_14 branch. --- diff --git a/ChangeLog b/ChangeLog index 79f354d..0432868 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-11-15 Katsumi Yamaoka + + * smtp.el (smtp-send-buffer): Error if `smtp-server' is nil. + 2002-11-15 Yoichi NAKAYAMA * FLIM-ELS (flim-version-specific-modules): Don't install mailcap.el. diff --git a/smtp.el b/smtp.el index 4706bff..ff13f5a 100644 --- a/smtp.el +++ b/smtp.el @@ -346,7 +346,8 @@ BUFFER may be a buffer or a buffer name which contains mail message." (let ((server (if (functionp smtp-server) (funcall smtp-server sender recipients) - smtp-server)) + (or smtp-server + (error "`smtp-server' not defined")))) (package (smtp-make-package sender recipients buffer)) (smtp-open-connection-function