summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-09 15:35:15 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-09 15:35:15 +0200
commite7a582cbe44cff7d0cde4b52108f98882d6a8fdf (patch)
tree0a9d6890bd8ff7edd35f8e201aa03827c32552f1 /lisp/ibuffer.el
parent1137219c97dda512a309ce4bfad5abde0d2be206 (diff)
downloademacs-e7a582cbe44cff7d0cde4b52108f98882d6a8fdf.tar.gz
emacs-e7a582cbe44cff7d0cde4b52108f98882d6a8fdf.tar.bz2
emacs-e7a582cbe44cff7d0cde4b52108f98882d6a8fdf.zip
* lisp/ibuffer.el (ibuffer): Use substitute-command-keys for help.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el13
1 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 65430d7d11a..d6870aab5dd 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2332,7 +2332,18 @@ FORMATS is the value to use for `ibuffer-formats'.
(run-hooks 'ibuffer-hook))
(setq buffer-read-only t))
(unless ibuffer-expert
- (message "Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help"))))))
+ (message (substitute-command-keys
+ (concat "Commands: \\[ibuffer-mark-forward], "
+ "\\[ibuffer-unmark-forward], "
+ "\\[ibuffer-toggle-marks], "
+ "\\[ibuffer-visit-buffer], "
+ "\\[ibuffer-update], "
+ "\\[ibuffer-do-kill-lines], "
+ "\\[ibuffer-do-save], "
+ "\\[ibuffer-do-delete], "
+ "\\[ibuffer-do-query-replace]; "
+ "\\[quit-window] to quit; "
+ "\\[describe-mode] for help"))))))))
;;;###autoload
(defun ibuffer-jump (&optional other-window)