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
019bf2a3
Commit
019bf2a3
authored
Jul 13, 1993
by
Richard M. Stallman
Browse files
(rmail-insert-inbox-text): If inbox is not in the
spool dir, try copying before renaming.
parent
626f67f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lisp/mail/rmail.el
lisp/mail/rmail.el
+6
-1
No files found.
lisp/mail/rmail.el
View file @
019bf2a3
...
...
@@ -753,7 +753,12 @@ argument causes us to read a file name and use that file as the inbox."
(not (file-exists-p file))))
nil)
((and (not movemail) (not popmail))
(rename-file file tofile nil)
;; Try copying. If that fails (perhaps no space),
;; rename instead.
(condition-case nil
(copy-file file tofile nil)
(error
(rename-file file tofile nil)))
;; Make the real inbox file empty.
;; Leaving it deleted could cause lossage
;; because mailers often won't create the file.
...
...
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