mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
(rmail): Allow nonexistent file as arg.
This commit is contained in:
parent
c7de13da48
commit
b5e10b2357
@ -282,8 +282,7 @@ have a chance to specify a file name with the minibuffer.
|
||||
|
||||
If `rmail-display-summary' is non-nil, make a summary for this RMAIL file."
|
||||
(interactive (if current-prefix-arg
|
||||
(list (read-file-name "Run rmail on RMAIL file: "
|
||||
nil nil t))))
|
||||
(list (read-file-name "Run rmail on RMAIL file: "))))
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user