aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorMiles Bader2007-12-16 05:08:49 +0000
committerMiles Bader2007-12-16 05:08:49 +0000
commitd29ee6b1a110cf5d170a10317a96acbbd4a1c68b (patch)
tree58f3c40766d8d56de7d2b026c29e198764d910aa /lisp/mail
parent7e095e45a3f790e4608c88db9648d248e24901dc (diff)
parent47854a55680b5809811caf72f66ecbe8289c2855 (diff)
downloademacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.tar.gz
emacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.zip
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/feedmail.el2
-rw-r--r--lisp/mail/hashcash.el17
-rw-r--r--lisp/mail/reporter.el2
-rw-r--r--lisp/mail/rmailout.el2
-rw-r--r--lisp/mail/uce.el2
5 files changed, 15 insertions, 10 deletions
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el
index e75387f48ac..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 (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/hashcash.el b/lisp/mail/hashcash.el
index 22005ce957e..36cd17fe6fc 100644
--- a/lisp/mail/hashcash.el
+++ b/lisp/mail/hashcash.el
@@ -49,6 +49,9 @@
49 49
50;;; Code: 50;;; Code:
51 51
52(eval-and-compile
53 (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
54
52(defgroup hashcash nil 55(defgroup hashcash nil
53 "Hashcash configuration." 56 "Hashcash configuration."
54 :group 'mail) 57 :group 'mail)
@@ -112,13 +115,15 @@ For example, you may want to set this to '(\"-Z2\") to reduce header length."
112(require 'mail-utils) 115(require 'mail-utils)
113 116
114(eval-and-compile 117(eval-and-compile
115 (if (fboundp 'point-at-bol) 118 (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
116 (defalias 'hashcash-point-at-bol 'point-at-bol) 119
117 (defalias 'hashcash-point-at-bol 'line-beginning-position)) 120 (if (fboundp 'point-at-bol)
121 (defalias 'hashcash-point-at-bol 'point-at-bol)
122 (defalias 'hashcash-point-at-bol 'line-beginning-position))
118 123
119 (if (fboundp 'point-at-eol) 124 (if (fboundp 'point-at-eol)
120 (defalias 'hashcash-point-at-eol 'point-at-eol) 125 (defalias 'hashcash-point-at-eol 'point-at-eol)
121 (defalias 'hashcash-point-at-eol 'line-end-position))) 126 (defalias 'hashcash-point-at-eol 'line-end-position)))
122 127
123(defun hashcash-strip-quoted-names (addr) 128(defun hashcash-strip-quoted-names (addr)
124 (setq addr (mail-strip-quoted-names addr)) 129 (setq addr (mail-strip-quoted-names addr))
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el
index 24dd9ab0c35..0777c60a2b9 100644
--- a/lisp/mail/reporter.el
+++ b/lisp/mail/reporter.el
@@ -118,7 +118,7 @@ composed.")
118 "Periodically output a status message." 118 "Periodically output a status message."
119 (if (zerop (% reporter-status-count 10)) 119 (if (zerop (% reporter-status-count 10))
120 (progn 120 (progn
121 (message reporter-status-message) 121 (message "%s" reporter-status-message)
122 (setq reporter-status-message (concat reporter-status-message ".")))) 122 (setq reporter-status-message (concat reporter-status-message "."))))
123 (setq reporter-status-count (1+ reporter-status-count))) 123 (setq reporter-status-count (1+ reporter-status-count)))
124 124
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el
index 1e9f8379b7b..234277320ad 100644
--- a/lisp/mail/rmailout.el
+++ b/lisp/mail/rmailout.el
@@ -380,7 +380,7 @@ The optional fourth argument FROM-GNUS is set when called from GNUS."
380 (rmail-toggle-header)) 380 (rmail-toggle-header))
381 (if (and (> count 0) (not next-message-p)) 381 (if (and (> count 0) (not next-message-p))
382 (progn 382 (progn
383 (error 383 (error "%s"
384 (save-excursion 384 (save-excursion
385 (set-buffer rmailbuf) 385 (set-buffer rmailbuf)
386 (format "Only %d message%s appended" num-appended 386 (format "Only %d message%s appended" num-appended
diff --git a/lisp/mail/uce.el b/lisp/mail/uce.el
index 5a4e01ae9fc..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 (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