aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Naggum1995-12-06 11:59:55 +0000
committerErik Naggum1995-12-06 11:59:55 +0000
commite1dadc172e73067afc270bca4f94327e7f3ffe32 (patch)
treeeddac758fae8257c9e9de368df33000ff393928c
parenta167ed910b5c6f41785be571adb5f843bb9dc0aa (diff)
downloademacs-e1dadc172e73067afc270bca4f94327e7f3ffe32.tar.gz
emacs-e1dadc172e73067afc270bca4f94327e7f3ffe32.zip
(recover-file): Also recover new, unsaved files.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index ec3f8ba49aa..0f8f69c6bc4 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2152,7 +2152,7 @@ beginning and `after-revert-hook' at the end."
2152 ;; Actually putting the file name in the minibuffer should be used 2152 ;; Actually putting the file name in the minibuffer should be used
2153 ;; only rarely. 2153 ;; only rarely.
2154 ;; Not just because users often use the default. 2154 ;; Not just because users often use the default.
2155 (interactive "fRecover file: ") 2155 (interactive "FRecover file: ")
2156 (setq file (expand-file-name file)) 2156 (setq file (expand-file-name file))
2157 (if (auto-save-file-name-p (file-name-nondirectory file)) 2157 (if (auto-save-file-name-p (file-name-nondirectory file))
2158 (error "%s is an auto-save file" file)) 2158 (error "%s is an auto-save file" file))