]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix `revert-buffer' message in `find-file-select'
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Sep 2021 16:44:55 +0000 (18:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 3 Sep 2021 05:48:10 +0000 (07:48 +0200)
* lisp/files.el (find-file-noselect): Refer to revert-buffer-quick
here since we're in a file-based buffer.

lisp/files.el

index bd87b995756b8d18826c936e064afc83e9846935..7e4bdab5075f8f8a3adce4ca2cebdd3a4d2a6d4e 100644 (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"