changeset 15050:7cc3bad1b93e

(after-find-file): Mention file name in "auto save is newer" message.
author Richard M. Stallman <rms@gnu.org>
date Fri, 19 Apr 1996 09:32:55 +0000
parents 61ee56ae39ef
children 4dbe0f673671
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Fri Apr 19 09:21:55 1996 +0000
+++ b/lisp/files.el	Fri Apr 19 09:32:55 1996 +0000
@@ -862,7 +862,8 @@
 		   (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)