From: Stefan Kangas Date: Tue, 9 Aug 2022 13:35:15 +0000 (+0200) Subject: * lisp/ibuffer.el (ibuffer): Use substitute-command-keys for help. X-Git-Tag: emacs-29.0.90~1447^2~282^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7a582cbe44cff7d0cde4b52108f98882d6a8fdf;p=emacs.git * lisp/ibuffer.el (ibuffer): Use substitute-command-keys for help. --- 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)