From: Lars Ingebrigtsen Date: Fri, 16 Oct 2020 05:36:08 +0000 (+0200) Subject: Doc string clarification for keep-lines X-Git-Tag: emacs-28.0.90~5615 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9be54e3dba824a6d435d145deb786c71b3773593;p=emacs.git Doc string clarification for keep-lines * lisp/replace.el (keep-lines): Note that REND isn't optional if RSTART is given (bug#44021). --- diff --git a/lisp/replace.el b/lisp/replace.el index d34cabfe89e..3a2ab1d24c8 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -906,7 +906,8 @@ and `search-upper-case' is non-nil, the matching is case-sensitive. Second and third arg RSTART and REND specify the region to operate on. This command operates on (the accessible part of) all lines whose accessible part is entirely contained in the region determined by RSTART -and REND. (A newline ending a line counts as part of that line.) +and REND. (A newline ending a line counts as part of that line.) If RSTART +is non-nil, REND also has to be given. Interactively, in Transient Mark mode when the mark is active, operate on all lines whose accessible part is entirely contained in the region.