changeset 5591:55fdac09e7a9

(rmail-default-file): Renamed from rmail-last-file. (rmail-default-rmail-file): Renamed from rmail-last-...
author Richard M. Stallman <rms@gnu.org>
date Sat, 15 Jan 1994 01:23:28 +0000
parents 1d9fabec8bec
children ee1ed3d9e517
files lisp/mail/rmail.el
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Sat Jan 15 01:22:53 1994 +0000
+++ b/lisp/mail/rmail.el	Sat Jan 15 01:23:28 1994 +0000
@@ -128,9 +128,11 @@
 (defvar rmail-last-label nil)
 ;; Last set of values specified to C-M-n, C-M-p, C-M-s or C-M-l.
 (defvar rmail-last-multi-labels nil)
-(defvar rmail-last-file nil)
 (defvar rmail-last-regexp nil)
-(defvar rmail-last-rmail-file (expand-file-name "~/XMAIL"))
+(defvar rmail-default-file nil
+  "*Default file name for \\[rmail-output].")
+(defvar rmail-default-rmail-file (expand-file-name "~/XMAIL")
+  "*Default file name for \\[rmail-output-to-rmail-file].")
 
 ;;; Regexp matching the delimiter of messages in UNIX mail format
 ;;; (UNIX From lines), minus the initial ^.  Note that if you change
@@ -205,8 +207,8 @@
   (interactive (if current-prefix-arg
 		   (list (read-file-name "Run rmail on RMAIL file: "
 					 nil nil t))))
-  (or rmail-last-file
-      (setq rmail-last-file (expand-file-name "~/xmail")))
+  (or rmail-default-file
+      (setq rmail-default-file (expand-file-name "~/xmail")))
   (let* ((file-name (expand-file-name (or file-name-arg rmail-file-name)))
 	 (existed (get-file-buffer file-name)))
     ;; Like find-file, but in the case where a buffer existed