From: Lars Ingebrigtsen Date: Sat, 24 Sep 2022 09:36:28 +0000 (+0200) Subject: Clarify message-newline-and-reformat doc string X-Git-Tag: emacs-29.0.90~1856^2~273 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90d2813f42678bbb5d22fbb6f59523ba567c6f36;p=emacs.git 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). --- diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 49a04f601f8..e19ac76869b 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -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"))