diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-03-08 10:56:51 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-11-17 14:29:15 +0100 |
commit | 0fbe543bc1a7cc3e9198eb0d8fc4b248ff0701e6 (patch) | |
tree | ff8a612e44a3ac4c46f58002bcfac4674cc6a6c1 /lisp/ibuf-ext.el | |
parent | 9ae741750cc3e96cacb3c496f7c941e5fc3f1052 (diff) | |
download | emacs-0fbe543bc1a7cc3e9198eb0d8fc4b248ff0701e6.tar.gz emacs-0fbe543bc1a7cc3e9198eb0d8fc4b248ff0701e6.tar.bz2 emacs-0fbe543bc1a7cc3e9198eb0d8fc4b248ff0701e6.zip |
Use substitute-command-keys in some messages
* lisp/dired.el (dired-get-file-for-visit):
* lisp/doc-view.el (doc-view-buffer-message):
* lisp/help.el (help-window-setup):
* lisp/ibuf-ext.el (ibuffer-do-kill-lines):
* lisp/vc/ediff.el (ediff-documentation): Use 'substitute-command-keys'.
Diffstat (limited to 'lisp/ibuf-ext.el')
-rw-r--r-- | lisp/ibuf-ext.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 5b69a878e21..2d2365dc34d 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -1597,7 +1597,10 @@ to move by. The default is `ibuffer-marked-char'." "Hide all of the currently marked lines." (interactive) (if (= (ibuffer-count-marked-lines) 0) - (message "No buffers marked; use `m' to mark a buffer") + (message (substitute-command-keys + (concat + "No buffers marked; use \\<ibuffer-mode-map>" + "\\[ibuffer-mark-forward] to mark a buffer"))) (let ((count (ibuffer-map-marked-lines (lambda (_buf _mark) |