emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/debbugs a447400 204/311: Document debbugs-gnu-send-mail


From: Stefan Monnier
Subject: [elpa] externals/debbugs a447400 204/311: Document debbugs-gnu-send-mail-function
Date: Sun, 29 Nov 2020 18:42:12 -0500 (EST)

branch: externals/debbugs
commit a447400ed453a7330ff0b69506e9b408b0ab1e81
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Document debbugs-gnu-send-mail-function
---
 debbugs-gnu.el  | 15 ++++++++++++---
 debbugs-ug.texi |  3 +++
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index dd17e83..4169dc8 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -202,6 +202,18 @@
              (const "tagged"))
   :version "24.1")
 
+(defcustom debbugs-gnu-send-mail-function nil
+  "A function to send control messages from debbugs.
+If nil, the value of `send-mail-function' is used instead."
+  :type '(radio (function-item message-send-mail-with-sendmail)
+               (function-item message-smtpmail-send-it)
+               (function-item smtpmail-send-it)
+               (function-item feedmail-send-it)
+               (function-item message-send-mail-with-mailclient
+                              :tag "Use Mailclient package")
+               (function :tag "Other"))
+  :version "25.1")
+
 (defcustom debbugs-gnu-suppress-closed t
   "If non-nil, don't show closed bugs."
   :group 'debbugs-gnu
@@ -1321,9 +1333,6 @@ MERGED is the list of bugs merged with this one."
           (re-search-forward "#\\([0-9]+\\)" nil t)))
      (string-to-number (match-string 1)))))
 
-(defvar debbugs-gnu-send-mail-function nil
-  "A function to send control messages from debbugs.")
-
 (defvar debbugs-gnu-completion-table
   (completion-table-dynamic
    (lambda (string)
diff --git a/debbugs-ug.texi b/debbugs-ug.texi
index 2d5f435..9ba5a33 100644
--- a/debbugs-ug.texi
+++ b/debbugs-ug.texi
@@ -569,6 +569,9 @@ The username, read interactively, is either a package name 
or an email
 address.  The tag to be set is also read interactively.
 @end table
 
+How the control messages are sent is controlled by the
+@code{debbugs-gnu-send-mail-function} variable.
+
 
 @node Minor Mode
 @chapter Minor Mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]