aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-15 20:17:08 +0000
committerRichard M. Stallman1997-05-15 20:17:08 +0000
commit2079601b890ae16cf3c80dca0dfcb12118ffae10 (patch)
treef851d5ca61bad863871895651305d71b7066cb66
parentb00ca0d7ea02ff7e667dfad21d8adca1218d11f6 (diff)
downloademacs-2079601b890ae16cf3c80dca0dfcb12118ffae10.tar.gz
emacs-2079601b890ae16cf3c80dca0dfcb12118ffae10.zip
(rmail-retry-failure): Rename local to rmail-this-buffer.
(rmail-primary-inbox-list): Don't use backquote.
-rw-r--r--lisp/mail/rmail.el22
1 files changed, 12 insertions, 10 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 811b485892d..765160e9eb1 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -170,11 +170,13 @@ See also `rmail-highlight-face'."
170`nil' means the default, which is (\"/usr/spool/mail/$USER\") 170`nil' means the default, which is (\"/usr/spool/mail/$USER\")
171\(the name varies depending on the operating system, 171\(the name varies depending on the operating system,
172and the value of the environment variable MAIL overrides it)." 172and the value of the environment variable MAIL overrides it)."
173 :type `(choice (const :tag "Default" nil) 173 ;; Don't use backquote here, because we don't want to need it
174 (repeat :value (,(or (getenv "MAIL") 174 ;; at load time.
175 (concat "/var/spool/mail/" 175 :type (list 'choice '(const :tag "Default" nil)
176 (getenv "USER")))) 176 (list 'repeat ':value ,(or (getenv "MAIL")
177 file)) 177 (concat "/var/spool/mail/"
178 (getenv "USER")))
179 'file))
178 :group 'rmail-retrieve 180 :group 'rmail-retrieve
179 :group 'rmail-files) 181 :group 'rmail-files)
180 182
@@ -2725,7 +2727,7 @@ The variable `rmail-retry-ignored-headers' is a regular expression
2725specifying headers which should not be copied into the new message." 2727specifying headers which should not be copied into the new message."
2726 (interactive) 2728 (interactive)
2727 (require 'mail-utils) 2729 (require 'mail-utils)
2728 (let ((rmail-buffer (current-buffer)) 2730 (let ((rmail-this-buffer (current-buffer))
2729 (msgnum rmail-current-message) 2731 (msgnum rmail-current-message)
2730 bounce-start bounce-end bounce-indent resending) 2732 bounce-start bounce-end bounce-indent resending)
2731 (save-excursion 2733 (save-excursion
@@ -2797,9 +2799,9 @@ specifying headers which should not be copied into the new message."
2797 ;; Turn off the usual actions for initializing the message body 2799 ;; Turn off the usual actions for initializing the message body
2798 ;; because we want to get only the text from the failure message. 2800 ;; because we want to get only the text from the failure message.
2799 (let (mail-signature mail-setup-hook) 2801 (let (mail-signature mail-setup-hook)
2800 (if (rmail-start-mail nil nil nil nil nil rmail-buffer 2802 (if (rmail-start-mail nil nil nil nil nil rmail-this-buffer
2801 (list (list 'rmail-mark-message 2803 (list (list 'rmail-mark-message
2802 rmail-buffer 2804 rmail-this-buffer
2803 (aref rmail-msgref-vector msgnum) 2805 (aref rmail-msgref-vector msgnum)
2804 "retried"))) 2806 "retried")))
2805 ;; Insert original text as initial text of new draft message. 2807 ;; Insert original text as initial text of new draft message.
@@ -2807,7 +2809,7 @@ specifying headers which should not be copied into the new message."
2807 ;; of the previous message was probably read-only. 2809 ;; of the previous message was probably read-only.
2808 (let ((inhibit-read-only t)) 2810 (let ((inhibit-read-only t))
2809 (erase-buffer) 2811 (erase-buffer)
2810 (insert-buffer-substring rmail-buffer bounce-start bounce-end) 2812 (insert-buffer-substring rmail-this-buffer bounce-start bounce-end)
2811 (goto-char (point-min)) 2813 (goto-char (point-min))
2812 (if bounce-indent 2814 (if bounce-indent
2813 (indent-rigidly (point-min) (point-max) bounce-indent)) 2815 (indent-rigidly (point-min) (point-max) bounce-indent))
@@ -2825,7 +2827,7 @@ specifying headers which should not be copied into the new message."
2825 (insert "BCC: " (user-login-name) "\n")))) 2827 (insert "BCC: " (user-login-name) "\n"))))
2826 (insert mail-header-separator) 2828 (insert mail-header-separator)
2827 (mail-position-on-field (if resending "Resent-To" "To") t) 2829 (mail-position-on-field (if resending "Resent-To" "To") t)
2828 (set-buffer rmail-buffer) 2830 (set-buffer rmail-this-buffer)
2829 (rmail-beginning-of-message)))))) 2831 (rmail-beginning-of-message))))))
2830 2832
2831(defun rmail-summary-exists () 2833(defun rmail-summary-exists ()