From: yamaoka Date: Fri, 15 Nov 2002 08:48:18 +0000 (+0000) Subject: Synch with the flim-1_14 branch. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3b6ceafb6a0010207e229e0945373b6afd3fa73d;p=elisp%2Fflim.git Synch with the flim-1_14 branch. --- diff --git a/ChangeLog b/ChangeLog index 3dce9d8..fb49aa9 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