From 7a4d823b398cf40c10ec31b2944c714c672c24b7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 2 Sep 2021 18:44:55 +0200 Subject: [PATCH] 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. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index bd87b995756..7e4bdab5075 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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" -- 2.39.2