Commit c759a121 authored by Simon Marshall's avatar Simon Marshall
Browse files

Made revert-buffer message go via substitute-command-keys.

parent 6da3dd3a
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment