Mercurial > emacs
diff lisp/files.el @ 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 | 1afa2e4aed57 |
children | 4f2cfe6ee83c |
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)