summaryrefslogtreecommitdiff
path: root/lisp/align.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-29 22:14:05 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:09 +0200
commit02c1aa8fe52959df140dd1c0ab8467f00c946a5c (patch)
tree5a69537121ca77c3305af79c1baf241c13dc79da /lisp/align.el
parentbc6c294d606266a410abdb8954bf6d4acbd21df9 (diff)
downloademacs-02c1aa8fe52959df140dd1c0ab8467f00c946a5c.tar.gz
Doc fix for align-newline-and-indent
* lisp/align.el (align-newline-and-indent): Mention that alignment is done by `align' (bug#17707). (cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
Diffstat (limited to 'lisp/align.el')
-rw-r--r--lisp/align.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/align.el b/lisp/align.el
index 7e439f3e073..f09f57032d4 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -1051,7 +1051,9 @@ to be colored."
;;;###autoload
(defun align-newline-and-indent ()
- "A replacement function for `newline-and-indent', aligning as it goes."
+ "A replacement function for `newline-and-indent', aligning as it goes.
+The alignment is done by calling `align' on the region that was
+indented."
(interactive)
(let ((separate (or (if (and (symbolp align-region-separate)
(boundp align-region-separate))