diff options
| author | Richard M. Stallman | 1994-05-23 22:44:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-23 22:44:08 +0000 |
| commit | 68eabf10ac6043328d82f2082d0634c63edaa658 (patch) | |
| tree | 968fa61cb3b5278daa2e3c9d427a85b2d1e5ff9c | |
| parent | 596122a77d73ea6efd11e29ba1ad2c721c9c5416 (diff) | |
| download | emacs-68eabf10ac6043328d82f2082d0634c63edaa658.tar.gz emacs-68eabf10ac6043328d82f2082d0634c63edaa658.zip | |
(ange-ftp-gwp-start): Call internal-ange-ftp-mode.
| -rw-r--r-- | lisp/ange-ftp.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 233936ae046..23ed923064a 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -851,7 +851,7 @@ SIZE, if supplied, should be a prime number." | |||
| 851 | ;;;; Internal variables. | 851 | ;;;; Internal variables. |
| 852 | ;;;; ------------------------------------------------------------ | 852 | ;;;; ------------------------------------------------------------ |
| 853 | 853 | ||
| 854 | (defconst ange-ftp-version "$Revision: 1.50 $") | 854 | (defconst ange-ftp-version "$Revision: 1.51 $") |
| 855 | 855 | ||
| 856 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 856 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 857 | "Buffer name to hold directory listing data received from ftp process.") | 857 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -1621,14 +1621,17 @@ good, skip, fatal, or unknown." | |||
| 1621 | ;; but that doesn't work: ftp never responds. | 1621 | ;; but that doesn't work: ftp never responds. |
| 1622 | ;; Can anyone find a fix for that? | 1622 | ;; Can anyone find a fix for that? |
| 1623 | (proc (let ((process-connection-type t)) | 1623 | (proc (let ((process-connection-type t)) |
| 1624 | (start-process name name | 1624 | (start-process name name |
| 1625 | ange-ftp-gateway-program | 1625 | ange-ftp-gateway-program |
| 1626 | ange-ftp-gateway-host))) | 1626 | ange-ftp-gateway-host))) |
| 1627 | (ftp (mapconcat (function identity) args " "))) | 1627 | (ftp (mapconcat (function identity) args " "))) |
| 1628 | (process-kill-without-query proc) | 1628 | (process-kill-without-query proc) |
| 1629 | (set-process-sentinel proc (function ange-ftp-gwp-sentinel)) | 1629 | (set-process-sentinel proc (function ange-ftp-gwp-sentinel)) |
| 1630 | (set-process-filter proc (function ange-ftp-gwp-filter)) | 1630 | (set-process-filter proc (function ange-ftp-gwp-filter)) |
| 1631 | (set-marker (process-mark proc) (point)) | 1631 | (save-excursion |
| 1632 | (set-buffer (process-buffer proc)) | ||
| 1633 | (internal-ange-ftp-mode) | ||
| 1634 | (set-marker (process-mark proc) (point))) | ||
| 1632 | (setq ange-ftp-gwp-running t | 1635 | (setq ange-ftp-gwp-running t |
| 1633 | ange-ftp-gwp-status nil) | 1636 | ange-ftp-gwp-status nil) |
| 1634 | (ange-ftp-message "Connecting to gateway %s..." ange-ftp-gateway-host) | 1637 | (ange-ftp-message "Connecting to gateway %s..." ange-ftp-gateway-host) |