From c759a12159801857090e53f84a8f283446292b1d Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Mon, 27 Feb 1995 08:05:09 +0000 Subject: [PATCH] Made revert-buffer message go via substitute-command-keys. --- lisp/dired.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/dired.el b/lisp/dired.el index c3f071021ef..03637103a34 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -420,7 +420,9 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh." (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) -- 2.39.5