From 02c1aa8fe52959df140dd1c0ab8467f00c946a5c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 29 Apr 2016 22:14:05 +0200 Subject: [PATCH] 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) --- lisp/align.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- 2.39.2