Commit e1dadc17 authored by Erik Naggum's avatar Erik Naggum
Browse files

(recover-file): Also recover new, unsaved files.

parent a167ed91
......@@ -2152,7 +2152,7 @@ beginning and `after-revert-hook' at the end."
;; Actually putting the file name in the minibuffer should be used
;; only rarely.
;; Not just because users often use the default.
(interactive "fRecover file: ")
(interactive "FRecover file: ")
(setq file (expand-file-name file))
(if (auto-save-file-name-p (file-name-nondirectory file))
(error "%s is an auto-save file" file))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment