diff options
| author | Pavel Janík | 2002-01-03 08:39:44 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-01-03 08:39:44 +0000 |
| commit | cdc51589d5c61f748446b637f65ff64e5e2edbb9 (patch) | |
| tree | 18ef0401af9d2308d70901507ffb9d7cc54e59b6 | |
| parent | b7b4e4d4d06fbb83716ab13238dee8caf53c9557 (diff) | |
| download | emacs-cdc51589d5c61f748446b637f65ff64e5e2edbb9.tar.gz emacs-cdc51589d5c61f748446b637f65ff64e5e2edbb9.zip | |
(ange-ftp-shell-command): Remove port specification from the hostname.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bac46298bb3..bea449baeca 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2002-01-03 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | ||
| 2 | |||
| 3 | * time.el (display-time-load-average-threshold): Fix defcustom | ||
| 4 | (add type and group). | ||
| 5 | |||
| 6 | * net/ange-ftp.el (ange-ftp-shell-command): Remove port | ||
| 7 | specification from the hostname. | ||
| 8 | |||
| 1 | 2002-01-02 Richard M. Stallman <rms@gnu.org> | 9 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
| 2 | 10 | ||
| 3 | * facemenu.el (facemenu-active-faces): | 11 | * facemenu.el (facemenu-active-faces): |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index eaf7319f41b..e97c14fe15a 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -4423,6 +4423,9 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4423 | (ange-ftp-real-shell-command command output-buffer error-buffer) | 4423 | (ange-ftp-real-shell-command command output-buffer error-buffer) |
| 4424 | (if (> (length name) 0) ; else it's $HOME | 4424 | (if (> (length name) 0) ; else it's $HOME |
| 4425 | (setq command (concat "cd " name "; " command))) | 4425 | (setq command (concat "cd " name "; " command))) |
| 4426 | ;; Remove port from the hostname | ||
| 4427 | (string-match "\\(.*\\)#\\(.*\\)" host) | ||
| 4428 | (setq host (match-string 1 host)) | ||
| 4426 | (setq command | 4429 | (setq command |
| 4427 | (format "%s %s \"%s\"" ; remsh -l USER does not work well | 4430 | (format "%s %s \"%s\"" ; remsh -l USER does not work well |
| 4428 | ; on a hp-ux machine I tried | 4431 | ; on a hp-ux machine I tried |