If there is a fill prefix, @kbd{M-^} deletes the fill prefix if it
appears after the newline that is deleted. @xref{Fill Prefix}.
-With the universal prefix argument, join the current line line to the
-following line. With the region active, join lines in the region. If
-both the argument is set and the region is active, the region is ignored.
+With a prefix argument, join the current line line to the following
+line. If the region is active, and no prefix argument is given, join
+all lines in the region instead.
@item C-M-\
@kindex C-M-\
arguments mitigating performance issues when operating on huge
buffers.
-** The command `delete-indentation` now can operate on the active
-region
+** The command 'delete-indentation' now operates on the active region.
+If the region is active, the command joins all the lines in the
+region. When there's no active region, the command works on the
+current and the previous or the next line, as before.
+++
\f
(defun delete-indentation (&optional arg beg end)
"Join this line to previous and fix up whitespace at join.
If there is a fill prefix, delete it from the beginning of this
-line. With prefix ARG, join the current line to the following line.
-With the region active, join lines in the region. If both the
-argument is set and the region is active, the region is ignored."
+line.
+With prefix ARG, join the current line to the following line.
+If the region is active, join all the lines in the region. (The
+region is ignored if prefix argument is given.)"
(interactive "*P\nr")
(if arg (forward-line 1)
(if (use-region-p)