(gnus-server-unopen-status): Defcustom.
authorSimon Josefsson <jas@extundo.com>
Thu, 26 Sep 2002 18:08:12 +0000 (18:08 +0000)
committerSimon Josefsson <jas@extundo.com>
Thu, 26 Sep 2002 18:08:12 +0000 (18:08 +0000)
lisp/ChangeLog
lisp/gnus-int.el

index a91b37e..90b80e4 100644 (file)
@@ -1,5 +1,7 @@
 2002-09-26  Simon Josefsson  <jas@extundo.com>
 
 2002-09-26  Simon Josefsson  <jas@extundo.com>
 
+       * gnus-int.el (gnus-server-unopen-status): Defcustom.
+
        * mml-sec.el (mml-signencrypt-style): Docstring to font-lock
        better.
 
        * mml-sec.el (mml-signencrypt-style): Docstring to font-lock
        better.
 
index 936abaa..32ecfa7 100644 (file)
   :group 'gnus-start
   :type 'hook)
 
   :group 'gnus-start
   :type 'hook)
 
-(defvar gnus-server-unopen-status nil
+(defcustom gnus-server-unopen-status nil
   "The default status if the server is not able to open.
 If the server is covered by Gnus agent, the possible values are
 `denied', set the server denied; `offline', set the server offline;
 `nil', ask user.  If the server is not covered by Gnus agent, set the
   "The default status if the server is not able to open.
 If the server is covered by Gnus agent, the possible values are
 `denied', set the server denied; `offline', set the server offline;
 `nil', ask user.  If the server is not covered by Gnus agent, set the
-server denied.")
+server denied."
+  :group 'gnus-start
+  :type '(choice (const :tag "Ask" nil)
+                (const :tag "Deny server" denied)
+                (const :tag "Unplugg Agent" offline)))
 
 ;;;
 ;;; Server Communication
 
 ;;;
 ;;; Server Communication