]> git.eshelyaron.com Git - emacs.git/commitdiff
(ange-ftp-name-format): Fix customize type.
authorKarl Heuer <kwzh@gnu.org>
Thu, 2 Oct 1997 02:55:24 +0000 (02:55 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 2 Oct 1997 02:55:24 +0000 (02:55 +0000)
(ange-ftp-smart-gateway-port): Likewise.

lisp/ange-ftp.el

index 6760dba5cb929f6bbc9e9cc855b271d27646d8cd..6ca24f9df87d218f4556cffa6d0f092a94ab2347 100644 (file)
@@ -641,7 +641,10 @@ where REGEXP is a regular expression matching
 the full remote name, and HOST, USER, and NAME are the numbers of
 parenthesized expressions in REGEXP for the components (in that order)."
   :group 'ange-ftp
-  :type 'regexp)
+  :type '(list regexp 
+              (integer :tag "Host group")
+              (integer :tag "User group")
+              (integer :tag "Name group")))
 
 ;; ange-ftp-multi-skip-msgs should only match ###-, where ### is one of
 ;; the number codes corresponding to ange-ftp-good-msgs or ange-ftp-fatal-msgs.
@@ -853,7 +856,7 @@ or just issue a user@host command in case \`ange-ftp-gateway-host\' is non-nil."
 (defcustom ange-ftp-smart-gateway-port "21"
   "*Port on gateway machine to use when smart gateway is in operation."
   :group 'ange-ftp
-  :type 'integer)
+  :type 'string)
 
 (defcustom ange-ftp-send-hash t
   "*If non-nil, send the HASH command to the FTP client."