summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-09-24 11:36:28 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-24 11:39:53 +0200
commit90d2813f42678bbb5d22fbb6f59523ba567c6f36 (patch)
tree1fe112defb29ceb757fed2e76d22968b5ad36bdb /lisp
parent7b1c0c34422a7e4d6c607147dfffd8631184078c (diff)
downloademacs-90d2813f42678bbb5d22fbb6f59523ba567c6f36.tar.gz
emacs-90d2813f42678bbb5d22fbb6f59523ba567c6f36.tar.bz2
emacs-90d2813f42678bbb5d22fbb6f59523ba567c6f36.zip
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).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/message.el7
1 files changed, 6 insertions, 1 deletions
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"))