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
f7da6740
Commit
f7da6740
authored
Feb 16, 1994
by
Richard M. Stallman
Browse files
(recover-file): Call auto-save-file-name-p correctly.
parent
069511c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/files.el
lisp/files.el
+2
-1
No files found.
lisp/files.el
View file @
f7da6740
...
...
@@ -1822,7 +1822,8 @@ beginning and `after-revert-hook' at the end."
(
list
(
read-file-name
"Recover file: "
file-dir
nil
nil
file-name
))))
(
setq
file
(
expand-file-name
file
))
(
if
(
auto-save-file-name-p
file
)
(
error
"%s is an auto-save file"
file
))
(
if
(
auto-save-file-name-p
(
file-name-nondirectory
file
))
(
error
"%s is an auto-save file"
file
))
(
let
((
file-name
(
let
((
buffer-file-name
file
))
(
make-auto-save-file-name
))))
(
cond
((
not
(
file-newer-than-file-p
file-name
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