diff options
| author | Kai Großjohann | 2004-10-10 19:53:24 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2004-10-10 19:53:24 +0000 |
| commit | 97e810ff4113f1ef57c321c511ee01de10f10ea3 (patch) | |
| tree | 9225e1d01b26211ffe1c8a1aaadc14495674d0cb /lisp | |
| parent | c3f4c690b66558c159f98b9ab5d9164c2fa0bfb7 (diff) | |
| download | emacs-97e810ff4113f1ef57c321c511ee01de10f10ea3.tar.gz emacs-97e810ff4113f1ef57c321c511ee01de10f10ea3.zip | |
(ange-ftp-remote-shell): Remove variable.
(ange-ftp-call-chmod): Reference remote-shell-program instead of
ange-ftp-remote-shell.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ccc2a8b63d3..267307ed395 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-10-10 Kai Grossjohann <kai.grossjohann@gmx.net> | ||
| 2 | |||
| 3 | * net/ange-ftp.el (ange-ftp-remote-shell): Remove variable. | ||
| 4 | (ange-ftp-call-chmod): Reference remote-shell-program instead of | ||
| 5 | ange-ftp-remote-shell. | ||
| 6 | |||
| 1 | 2004-10-10 Andreas Schwab <schwab@suse.de> | 7 | 2004-10-10 Andreas Schwab <schwab@suse.de> |
| 2 | 8 | ||
| 3 | * emacs-lisp/byte-opt.el (byte-optimize-backward-word): Optimize | 9 | * emacs-lisp/byte-opt.el (byte-optimize-backward-word): Optimize |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index c1f3c0a8d52..16a4826b8ae 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -4514,9 +4514,6 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4514 | 1)) | 4514 | 1)) |
| 4515 | (apply 'call-process program nil (not discard) nil arguments))) | 4515 | (apply 'call-process program nil (not discard) nil arguments))) |
| 4516 | 4516 | ||
| 4517 | (defvar ange-ftp-remote-shell "rsh" | ||
| 4518 | "Remote shell to use for chmod, if FTP server rejects the `chmod' command.") | ||
| 4519 | |||
| 4520 | ;; Handle an attempt to run chmod on a remote file | 4517 | ;; Handle an attempt to run chmod on a remote file |
| 4521 | ;; by using the ftp chmod command. | 4518 | ;; by using the ftp chmod command. |
| 4522 | (defun ange-ftp-call-chmod (args) | 4519 | (defun ange-ftp-call-chmod (args) |
| @@ -4541,7 +4538,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4541 | abbr)))) | 4538 | abbr)))) |
| 4542 | (or (car result) | 4539 | (or (car result) |
| 4543 | (call-process | 4540 | (call-process |
| 4544 | ange-ftp-remote-shell | 4541 | remote-shell-program |
| 4545 | nil t nil host dired-chmod-program mode name)))))) | 4542 | nil t nil host dired-chmod-program mode name)))))) |
| 4546 | rest)) | 4543 | rest)) |
| 4547 | (setq ange-ftp-ls-cache-file nil) ;Stop confusing Dired. | 4544 | (setq ange-ftp-ls-cache-file nil) ;Stop confusing Dired. |