Clarify message-newline-and-reformat doc string

* lisp/gnus/message.el (message-newline-and-reformat): Clarify the
DWIM-ness in the doc string (bug#57986).
This commit is contained in:
Lars Ingebrigtsen 2022-09-24 11:36:28 +02:00
parent 7b1c0c3442
commit 90d2813f42

View file

@ -3551,7 +3551,12 @@ of lines before the signature intact."
(defun message-newline-and-reformat (&optional arg not-break)
"Insert four newlines, and then reformat if inside quoted text.
Prefix arg means justify as well."
Prefix arg means justify as well.
This function tries to guess what the quote prefix is based on
the text on the current line before point. If point is at the
start of the line, the formatted text (if any) is filled without
a quote prefix."
(interactive (list (if current-prefix-arg 'full)) message-mode)
(unless (message-in-body-p)
(error "This command only works in the body of the message"))