1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

* lisp/ibuffer.el (ibuffer): Use substitute-command-keys for help.

This commit is contained in:
Stefan Kangas 2022-08-09 15:35:15 +02:00
parent 1137219c97
commit e7a582cbe4

View File

@ -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)