aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorRichard M. Stallman2002-01-22 01:42:44 +0000
committerRichard M. Stallman2002-01-22 01:42:44 +0000
commit00dc02800f6f9ae3d50df7604ea78fc91fa32215 (patch)
treed28c88e0bff1174c8fbbf90ab3875dfba7d3a7d9 /lisp/net
parent41b495aff5aa945191d9dff111fe3f247980c3c1 (diff)
downloademacs-00dc02800f6f9ae3d50df7604ea78fc91fa32215.tar.gz
emacs-00dc02800f6f9ae3d50df7604ea78fc91fa32215.zip
(ange-ftp-bs2000-posix-hook-installed): Move defvar up.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/ange-ftp.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index 2af51044896..ef4b65d5556 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -6076,6 +6076,8 @@ Other orders of $ and _ seem to all work just fine.")
6076 ange-ftp-bs2000-host-regexp) 6076 ange-ftp-bs2000-host-regexp)
6077 ange-ftp-host-cache nil))) 6077 ange-ftp-host-cache nil)))
6078 6078
6079(defvar ange-ftp-bs2000-posix-hook-installed nil)
6080
6079(defun ange-ftp-add-bs2000-posix-host (host) 6081(defun ange-ftp-add-bs2000-posix-host (host)
6080 "Mark HOST as the name of a machine running BS2000 with POSIX subsystem." 6082 "Mark HOST as the name of a machine running BS2000 with POSIX subsystem."
6081 (interactive 6083 (interactive
@@ -6145,7 +6147,6 @@ Other orders of $ and _ seem to all work just fine.")
6145 (cons '(bs2000 . ange-ftp-parse-bs2000-listing) 6147 (cons '(bs2000 . ange-ftp-parse-bs2000-listing)
6146 ange-ftp-parse-list-func-alist))) 6148 ange-ftp-parse-list-func-alist)))
6147 6149
6148(defvar ange-ftp-bs2000-posix-hook-installed nil)
6149(defun ange-ftp-bs2000-cd-to-posix () 6150(defun ange-ftp-bs2000-cd-to-posix ()
6150 "cd to POSIX subsystem if the current host matches 6151 "cd to POSIX subsystem if the current host matches
6151ange-ftp-bs2000-posix-host-regexp. All BS2000 hosts with POSIX subsystem 6152ange-ftp-bs2000-posix-host-regexp. All BS2000 hosts with POSIX subsystem
@@ -6157,6 +6158,7 @@ be recognized automatically (they are all valid BS2000 hosts too)."
6157; (ange-ftp-raw-send-cmd proc "cd %POSIX") 6158; (ange-ftp-raw-send-cmd proc "cd %POSIX")
6158 (ange-ftp-cd host user "%POSIX") 6159 (ange-ftp-cd host user "%POSIX")
6159 ;; put new home directory in the expand-dir hashtable. 6160 ;; put new home directory in the expand-dir hashtable.
6161 ;; `host' and `user' are bound in ange-ftp-get-process.
6160 (ange-ftp-put-hash-entry (concat host "/" user "/~") 6162 (ange-ftp-put-hash-entry (concat host "/" user "/~")
6161 (car (ange-ftp-get-pwd host user)) 6163 (car (ange-ftp-get-pwd host user))
6162 ange-ftp-expand-dir-hashtable)))) 6164 ange-ftp-expand-dir-hashtable))))