changeset 10845:b70748bfdc90

Made revert-buffer message go via substitute-command-keys.
author Simon Marshall <simon@gnu.org>
date Mon, 27 Feb 1995 08:05:09 +0000
parents 06d6b2e17987
children b8ea4de9a069
files lisp/dired.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Sun Feb 26 22:31:45 1995 +0000
+++ b/lisp/dired.el	Mon Feb 27 08:05:09 1995 +0000
@@ -420,7 +420,9 @@
 		    (and (= (car (nth 5 attributes)) (car modtime))
 			 (= (nth 1 (nth 5 attributes)) (cdr modtime)))))
 	      nil
-	    (message "Directory has changed on disk; type `g' to update Dired")))
+	    (message
+	     (substitute-command-keys
+	      "Directory has changed on disk; type \\[revert-buffer] to update Dired"))))
       ;; Else a new buffer
       (setq default-directory
 	    (if (file-directory-p dirname)