1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00

Fix revert-buffer' message in find-file-select'

* lisp/files.el (find-file-noselect): Refer to revert-buffer-quick
here since we're in a file-based buffer.
This commit is contained in:
Lars Ingebrigtsen 2021-09-02 18:44:55 +02:00
parent d9dabdb381
commit 7a4d823b39

View File

@ -2351,7 +2351,7 @@ the various files."
((not query-about-changed-file)
(message
(substitute-command-keys
"File %s changed on disk. \\[revert-buffer] to load new contents%s")
"File %s changed on disk. \\[revert-buffer-quick] to load new contents%s")
(file-name-nondirectory filename)
(if (buffer-modified-p buf)
" and discard your edits"