aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2013-12-23 12:07:01 +0800
committerChong Yidong2013-12-23 12:07:01 +0800
commit7510b0219cb36b49032393c5295f14efd0c8df2f (patch)
tree27fff99292bc2df6d69281af4d11b0551513a4c8
parent8cd22a0818f3ed6832d4caa1883b32bab3107b54 (diff)
downloademacs-7510b0219cb36b49032393c5295f14efd0c8df2f.tar.gz
emacs-7510b0219cb36b49032393c5295f14efd0c8df2f.zip
* indent.el (indent-rigidly): Use substitute-command-keys.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/indent.el5
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 06d2a8270a8..963fd58dbed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -12,6 +12,8 @@
12 * calendar/todo-mode.el (todo-insert-item--next-param): 12 * calendar/todo-mode.el (todo-insert-item--next-param):
13 * progmodes/f90.el (f90-abbrev-start): Callers changed. 13 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14 14
15 * indent.el (indent-rigidly): Use substitute-command-keys.
16
152013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> 172013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
16 18
17 * net/eww.el (eww-tag-select): Add text-property to jump to next 19 * net/eww.el (eww-tag-select): Add text-property to jump to next
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."
194 (interactive "r\nP\np") 194 (interactive "r\nP\np")
195 (if (and (not arg) interactive) 195 (if (and (not arg) interactive)
196 (progn 196 (progn
197 (message "Edit region indentation with <left>, <right>, <S-left> \ 197 (message
198and <S-right>.") 198 (substitute-command-keys
199 "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]."))
199 (set-transient-map indent-rigidly-map t)) 200 (set-transient-map indent-rigidly-map t))
200 (save-excursion 201 (save-excursion
201 (goto-char end) 202 (goto-char end)