aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorDeepak Goel2007-12-08 00:57:23 +0000
committerDeepak Goel2007-12-08 00:57:23 +0000
commita867ead0d05d7809c12f15704f65431ce8a7aaee (patch)
tree19d0e35a35a36e3ecfc0735bf50216fd995bbe89 /lisp/mail
parent3d587afd35bfdad13523d7b856d8d054e5826a4d (diff)
downloademacs-a867ead0d05d7809c12f15704f65431ce8a7aaee.tar.gz
emacs-a867ead0d05d7809c12f15704f65431ce8a7aaee.zip
Improves calls to `error', per mail from RMS.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/feedmail.el2
-rw-r--r--lisp/mail/uce.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el
index 7fb40baa7c8..ab8611424db 100644
--- a/lisp/mail/feedmail.el
+++ b/lisp/mail/feedmail.el
@@ -1922,7 +1922,7 @@ mapped to mostly alphanumerics for safety."
1922 ;; progn to get nil result no matter what 1922 ;; progn to get nil result no matter what
1923 (progn (make-directory queue-directory t) nil) 1923 (progn (make-directory queue-directory t) nil)
1924 (file-accessible-directory-p queue-directory) 1924 (file-accessible-directory-p queue-directory)
1925 (error "%s" (concat "FQM: Message not queued; trouble with directory " queue-directory))) 1925 (error "FQM: Message not queued; trouble with directory %s" queue-directory))
1926 (let ((filename) 1926 (let ((filename)
1927 (is-fqm) 1927 (is-fqm)
1928 (is-in-this-dir) 1928 (is-in-this-dir)
diff --git a/lisp/mail/uce.el b/lisp/mail/uce.el
index 54933993068..094cb03f861 100644
--- a/lisp/mail/uce.el
+++ b/lisp/mail/uce.el
@@ -239,7 +239,7 @@ address, and postmaster of the mail relay used."
239 (full-header-p (and (eq uce-mail-reader 'rmail) 239 (full-header-p (and (eq uce-mail-reader 'rmail)
240 (not (rmail-msg-is-pruned))))) 240 (not (rmail-msg-is-pruned)))))
241 (or (get-buffer message-buffer) 241 (or (get-buffer message-buffer)
242 (error "%s" (concat "No buffer " message-buffer ", cannot find UCE"))) 242 (error "No buffer %s, cannot find UCE" message-buffer))
243 (switch-to-buffer message-buffer) 243 (switch-to-buffer message-buffer)
244 ;; We need the message with headers pruned. 244 ;; We need the message with headers pruned.
245 (if full-header-p 245 (if full-header-p