From 7510b0219cb36b49032393c5295f14efd0c8df2f Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 23 Dec 2013 12:07:01 +0800 Subject: * indent.el (indent-rigidly): Use substitute-command-keys. --- lisp/indent.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/indent.el') 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 , , \ -and .") + (message + (substitute-command-keys + "Indent region with \\\\[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) -- cgit v1.2.1