(sieve-manage-default-stream): Make default stream customizable.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 27 Sep 2010 16:31:33 +0000 (18:31 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 27 Sep 2010 16:31:33 +0000 (18:31 +0200)
From Florian Ragwitz  <rafl@debian.org>

lisp/ChangeLog
lisp/sieve-manage.el

index 10d691b..6d7ba1e 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-27  Florian Ragwitz  <rafl@debian.org>
+
+       * sieve-manage.el (sieve-manage-default-stream): Make default stream
+       customizable.
+
 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (utf7): Required.
index 0f16444..8749864 100644 (file)
@@ -162,6 +162,12 @@ for doing the actual authentication."
   :type 'integer
   :group 'sieve-manage)
 
+(defcustom sieve-manage-default-stream 'network
+  "Default stream type to use for `sieve-manage'.
+Must be a name of a stream in `sieve-manage-stream-alist'."
+  :type 'symbol
+  :group 'sieve-manage)
+
 ;; Internal variables:
 
 (defconst sieve-manage-local-variables '(sieve-manage-server
@@ -174,7 +180,6 @@ for doing the actual authentication."
                                         sieve-manage-client-eol
                                         sieve-manage-server-eol
                                         sieve-manage-capability))
-(defconst sieve-manage-default-stream 'network)
 (defconst sieve-manage-coding-system-for-read 'binary)
 (defconst sieve-manage-coding-system-for-write 'binary)
 (defvar sieve-manage-stream nil)