diff options
| author | Richard M. Stallman <rms@gnu.org> | 1996-04-19 09:32:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1996-04-19 09:32:55 +0000 |
| commit | 6a6a0b8bf3c49d0bac6d1726ff90bb88e2f4260f (patch) | |
| tree | 3b9dcf6a87b9a0ecf553af10bca34892dd18ca0a | |
| parent | 831f35a2007fe1dbf6d77c590374f370e6cafc74 (diff) | |
| download | emacs-6a6a0b8bf3c49d0bac6d1726ff90bb88e2f4260f.tar.gz | |
(after-find-file): Mention file name in "auto save is newer" message.
| -rw-r--r-- | lisp/files.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 81142835b06..770735e239e 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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) |
