From 723ca6c7537983d7979338ba4932ad54111b098d Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Sat, 31 Aug 2024 08:15:53 -0400 Subject: [PATCH] Clarify skipping prompts in repunctuate-sentences docstring * lisp/textmodes/paragraphs.el (repunctuate-sentences): Update docstring. bug#72704 Suggested-by: Eli Zaretskii --- lisp/textmodes/paragraphs.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index be741e6517b..c2f75ef297b 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -545,9 +545,11 @@ repunctuate-sentences It works using `query-replace-regexp'. In Transient Mark mode, if the mark is active, operate on the contents of the region. Second and third arg START and END specify the region to operate on. -If optional argument NO-QUERY is non-nil, make changes without asking -for confirmation. You can use `repunctuate-sentences-filter' to add -filters to skip occurrences of spaces that don't need to be replaced." +Noninteractively, if optional argument NO-QUERY is non-nil, make changes +without asking for confirmation. You can achieve the same effect +interactively, press \\\\[automatic] at the first prompt to skip remaining prompts. +Use `repunctuate-sentences-filter' to add filters to skip occurrences of +spaces that don't need to be replaced." (declare (interactive-args (start (use-region-beginning)) (end (use-region-end)))) (interactive (list nil (use-region-beginning) (use-region-end))) -- 2.41.0