Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b5e10b23
Commit
b5e10b23
authored
Dec 23, 1995
by
Richard M. Stallman
Browse files
(rmail): Allow nonexistent file as arg.
parent
c7de13da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lisp/mail/rmail.el
lisp/mail/rmail.el
+1
-2
No files found.
lisp/mail/rmail.el
View file @
b5e10b23
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment