From 626e1ac62b213261d80007524e400ac6a0768dae Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 19 Apr 2023 12:33:18 +0200 Subject: [PATCH] Improve 'message-server-alist' docstring * lisp/gnus/message.el (message-server-alist): Fix typo and clarify what happens if there is already an X-Message-SMTP-Method header. --- lisp/gnus/message.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index f4cfffa2e8a..7a71ac9f58e 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -4359,8 +4359,10 @@ If COND is a function, METHOD will be inserted if COND returns a non-nil value when called in the message buffer without any arguments. If METHOD is nil in this case, the return value of the function will be inserted instead. -If the buffer already has a\"X-Message-SMTP-Method\" header, -it is left unchanged." + +Note: if the buffer already has a \"X-Message-SMTP-Method\" +header, these rules are ignored, and the header is left +unchanged." :type '(alist :key-type (choice (string :tag "From Address") (function :tag "Predicate")) -- 2.39.5