]> code.delx.au - gnu-emacs/commitdiff
(browse-url-lynx-input-attempts): Use defcustom.
authorRichard M. Stallman <rms@gnu.org>
Mon, 22 Jul 2002 15:21:41 +0000 (15:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 22 Jul 2002 15:21:41 +0000 (15:21 +0000)
(browse-url-lynx-input-delay): Add custom type and group.

lisp/net/browse-url.el

index fdd69deba8bb31100d26a84788c9bd2131070130..cdda3ef98d763256aacfaad287814a6868eb686d 100644 (file)
@@ -518,11 +518,15 @@ down (this *won't* always work)."
   :version "20.3"
   :group 'browse-url)
 
-(defvar browse-url-lynx-input-attempts 10
-  "*How many times to try to move down from a series of lynx input fields.")
+(defcustom browse-url-lynx-input-attempts 10
+  "*How many times to try to move down from a series of lynx input fields."
+  :type 'integer
+  :group 'browse-url)
 
 (defcustom browse-url-lynx-input-delay 0.2
-  "*How many seconds to wait for lynx between moves down from an input field.")
+  "*How many seconds to wait for lynx between moves down from an input field."
+  :type 'number
+  :group 'browse-url)
 
 (defcustom browse-url-kde-program "kfmclient"
   "*The name by which to invoke the KDE web browser."