* indent.el (indent-rigidly): Use substitute-command-keys.

This commit is contained in:
Chong Yidong 2013-12-23 12:07:01 +08:00
parent 8cd22a0818
commit 7510b0219c
2 changed files with 5 additions and 2 deletions

View file

@ -12,6 +12,8 @@
* calendar/todo-mode.el (todo-insert-item--next-param):
* progmodes/f90.el (f90-abbrev-start): Callers changed.
* indent.el (indent-rigidly): Use substitute-command-keys.
2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
* net/eww.el (eww-tag-select): Add text-property to jump to next

View file

@ -194,8 +194,9 @@ indentation by specifying a large negative ARG."
(interactive "r\nP\np")
(if (and (not arg) interactive)
(progn
(message "Edit region indentation with <left>, <right>, <S-left> \
and <S-right>.")
(message
(substitute-command-keys
"Indent region with \\<indent-rigidly-map>\\[indent-rigidly-left], \\[indent-rigidly-right], \\[indent-rigidly-left-to-tab-stop], or \\[indent-rigidly-right-to-tab-stop]."))
(set-transient-map indent-rigidly-map t))
(save-excursion
(goto-char end)