From e7a582cbe44cff7d0cde4b52108f98882d6a8fdf Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 9 Aug 2022 15:35:15 +0200 Subject: [PATCH] * lisp/ibuffer.el (ibuffer): Use substitute-command-keys for help. --- lisp/ibuffer.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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) -- 2.39.2