aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-01-03 08:39:44 +0000
committerPavel Janík2002-01-03 08:39:44 +0000
commitcdc51589d5c61f748446b637f65ff64e5e2edbb9 (patch)
tree18ef0401af9d2308d70901507ffb9d7cc54e59b6
parentb7b4e4d4d06fbb83716ab13238dee8caf53c9557 (diff)
downloademacs-cdc51589d5c61f748446b637f65ff64e5e2edbb9.tar.gz
emacs-cdc51589d5c61f748446b637f65ff64e5e2edbb9.zip
(ange-ftp-shell-command): Remove port specification from the hostname.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/net/ange-ftp.el3
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 @@
12002-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
12002-01-02 Richard M. Stallman <rms@gnu.org> 92002-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