Commit 6a6a0b8b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(after-find-file): Mention file name in "auto save is newer" message.

parent 831f35a2
......@@ -862,7 +862,8 @@ unless NOMODES is non-nil."
(if (and warn
(file-newer-than-file-p (make-auto-save-file-name)
"Auto save file is newer; consider M-x recover-file"
(format "%s has auto save data; consider M-x recover-file"
(file-name-nondirectory buffer-file-name))
(setq not-serious t)
(if error "(New file)" nil)))
((not error)
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