(ange-ftp-call-chmod): Reference remote-shell-program instead of
ange-ftp-remote-shell.
+2004-10-10 Kai Grossjohann <kai.grossjohann@gmx.net>
+
+ * net/ange-ftp.el (ange-ftp-remote-shell): Remove variable.
+ (ange-ftp-call-chmod): Reference remote-shell-program instead of
+ ange-ftp-remote-shell.
+
2004-10-10 Andreas Schwab <schwab@suse.de>
* emacs-lisp/byte-opt.el (byte-optimize-backward-word): Optimize
1))
(apply 'call-process program nil (not discard) nil arguments)))
-(defvar ange-ftp-remote-shell "rsh"
- "Remote shell to use for chmod, if FTP server rejects the `chmod' command.")
-
;; Handle an attempt to run chmod on a remote file
;; by using the ftp chmod command.
(defun ange-ftp-call-chmod (args)
abbr))))
(or (car result)
(call-process
- ange-ftp-remote-shell
+ remote-shell-program
nil t nil host dired-chmod-program mode name))))))
rest))
(setq ange-ftp-ls-cache-file nil) ;Stop confusing Dired.