summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2013-12-23 12:07:01 +0800
committerChong Yidong <cyd@gnu.org>2013-12-23 12:07:01 +0800
commit7510b0219cb36b49032393c5295f14efd0c8df2f (patch)
tree27fff99292bc2df6d69281af4d11b0551513a4c8 /lisp/indent.el
parent8cd22a0818f3ed6832d4caa1883b32bab3107b54 (diff)
downloademacs-7510b0219cb36b49032393c5295f14efd0c8df2f.tar.gz
* indent.el (indent-rigidly): Use substitute-command-keys.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r--lisp/indent.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index b70414a850d..db7662496ff 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -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)