Tweak C-x TAB behavior changes, and update docs.
authorChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 08:37:08 +0000 (16:37 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 08:37:08 +0000 (16:37 +0800)
commit77221051a20d22ab785b0e0441a320862ec589a0
treeb164afe2463da7bfbc0818ce875b2dc8618f99c3
parent70c8f5ca14b1de558e6f01dc745822fb957a11d1
Tweak C-x TAB behavior changes, and update docs.

* lisp/indent.el (indent-rigidly-map): Add docstring, and move commands
into named functions.
(indent-rigidly-left, indent-rigidly-right)
(indent-rigidly-left-to-tab-stop)
(indent-rigidly-right-to-tab-stop): New functions.  Decide on
indentation direction based on bidi direction, and accumulate
sequential commands in a single undo boundary.
(indent-rigidly--pop-undo): New utility function.

* doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes.

* doc/lispref/text.texi (Region Indent): Note the new interactive
behavior of indent-rigidly.
doc/emacs/ChangeLog
doc/emacs/indent.texi
doc/lispref/ChangeLog
doc/lispref/text.texi
lisp/ChangeLog
lisp/indent.el