comparison lisp/net/ange-ftp.el @ 44953:edd77d3b9898

(ange-ftp-passive-host-alist) (ange-ftp-bs2000-additional-pubsets): Fix custom type.
author Richard M. Stallman <rms@gnu.org>
date Mon, 29 Apr 2002 03:56:40 +0000
parents 992a5c499b47
children 1f468f3ca959
comparison
equal deleted inserted replaced
44952:fd324d332ceb 44953:edd77d3b9898
1007 Each element is of the form (HOSTNAME . SETTING). 1007 Each element is of the form (HOSTNAME . SETTING).
1008 HOSTNAME is a regular expression to match the FTP server host name(s). 1008 HOSTNAME is a regular expression to match the FTP server host name(s).
1009 SETTING is \"on\" to turn passive mode on, \"off\" to turn it off, 1009 SETTING is \"on\" to turn passive mode on, \"off\" to turn it off,
1010 or nil meaning don't change it." 1010 or nil meaning don't change it."
1011 :group 'ange-ftp 1011 :group 'ange-ftp
1012 :type '(list (cons regex (choice (const :tag "On" "on") 1012 :type '(repeat (cons regexp (choice (const :tag "On" "on")
1013 (const :tag "Off" "off") 1013 (const :tag "Off" "off")
1014 (const :tag "Don't change" nil)))) 1014 (const :tag "Don't change" nil))))
1015 :version 21.3) 1015 :version 21.3)
1016 1016
1017 ;;;; ------------------------------------------------------------ 1017 ;;;; ------------------------------------------------------------
1018 ;;;; Hash table support. 1018 ;;;; Hash table support.
1019 ;;;; ------------------------------------------------------------ 1019 ;;;; ------------------------------------------------------------
6109 6109
6110 (defcustom ange-ftp-bs2000-additional-pubsets 6110 (defcustom ange-ftp-bs2000-additional-pubsets
6111 nil 6111 nil
6112 "*List of additional pubsets available to all users." 6112 "*List of additional pubsets available to all users."
6113 :group 'ange-ftp 6113 :group 'ange-ftp
6114 :type 'string) 6114 :type '(repeat string))
6115 6115
6116 ;; These parsing functions are as general as possible because the syntax 6116 ;; These parsing functions are as general as possible because the syntax
6117 ;; of ftp listings from BS2000 hosts is a bit erratic. What saves us is that 6117 ;; of ftp listings from BS2000 hosts is a bit erratic. What saves us is that
6118 ;; the BS2000 filename syntax is so rigid. 6118 ;; the BS2000 filename syntax is so rigid.
6119 6119