Mercurial > emacs
changeset 10711:551defaf5ba1
(rmail): Don't set rmail-default-file here.
(rmail-default-file): Init it to ~/xmail.
(rmail-default-rmail-file): Don't call expand-file-name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 09 Feb 1995 09:41:18 +0000 |
parents | d5d1393a26af |
children | 5b86ce0cddb5 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Thu Feb 09 09:40:01 1995 +0000 +++ b/lisp/mail/rmail.el Thu Feb 09 09:41:18 1995 +0000 @@ -165,9 +165,9 @@ ;; 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-regexp nil) -(defvar rmail-default-file nil +(defvar rmail-default-file "~/xmail" "*Default file name for \\[rmail-output].") -(defvar rmail-default-rmail-file (expand-file-name "~/XMAIL") +(defvar rmail-default-rmail-file "~/XMAIL" "*Default file name for \\[rmail-output-to-rmail-file].") ;;; Regexp matching the delimiter of messages in UNIX mail format @@ -252,8 +252,6 @@ (interactive (if current-prefix-arg (list (read-file-name "Run rmail on RMAIL file: " nil nil t)))) - (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