From 9be54e3dba824a6d435d145deb786c71b3773593 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 16 Oct 2020 07:36:08 +0200 Subject: [PATCH] Doc string clarification for keep-lines * lisp/replace.el (keep-lines): Note that REND isn't optional if RSTART is given (bug#44021). --- lisp/replace.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.39.2