]> git.eshelyaron.com Git - emacs.git/commitdiff
(after-find-file): Mention file name in "auto save is newer" message.
authorRichard M. Stallman <rms@gnu.org>
Fri, 19 Apr 1996 09:32:55 +0000 (09:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 19 Apr 1996 09:32:55 +0000 (09:32 +0000)
lisp/files.el

index 81142835b068270e85746b53b5e3f8fb85fbdf3a..770735e239e1f2f6b5592d3593fcb2c34c9decd6 100644 (file)
@@ -862,7 +862,8 @@ unless NOMODES is non-nil."
                   (if (and warn
                            (file-newer-than-file-p (make-auto-save-file-name)
                                                    buffer-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)