aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-03-23 15:46:14 +0000
committerRichard M. Stallman1996-03-23 15:46:14 +0000
commit8c9c98ec53641b7397c3a3449d5ab37282956e56 (patch)
treefaf883136a80980de8e46837cc6d3beac7b6bb7b
parent7cbcc1db72b322af75e0001c424a21e8a9535e5d (diff)
downloademacs-8c9c98ec53641b7397c3a3449d5ab37282956e56.tar.gz
emacs-8c9c98ec53641b7397c3a3449d5ab37282956e56.zip
(ange-ftp-call-chmod): Return proper value.
-rw-r--r--lisp/ange-ftp.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index f0d5ca80493..c230de0d581 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -4093,7 +4093,8 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
4093 (error (insert (format "%s\n" (nth 1 oops))))) 4093 (error (insert (format "%s\n" (nth 1 oops)))))
4094 (apply 'call-process program nil (not discard) nil arguments))) 4094 (apply 'call-process program nil (not discard) nil arguments)))
4095 4095
4096;;; This currently does not work; it is never called. 4096;; Handle an attempt to run chmod on a remote file
4097;; by using the ftp chmod command.
4097(defun ange-ftp-call-chmod (args) 4098(defun ange-ftp-call-chmod (args)
4098 (if (< (length args) 2) 4099 (if (< (length args) 2)
4099 (error "ange-ftp-call-chmod: missing mode and/or filename: %s" args)) 4100 (error "ange-ftp-call-chmod: missing mode and/or filename: %s" args))
@@ -4118,7 +4119,8 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
4118 file 4119 file
4119 (cdr result))))))))) 4120 (cdr result)))))))))
4120 (cdr args))) 4121 (cdr args)))
4121 (setq ange-ftp-ls-cache-file nil)) ;stop confusing dired 4122 (setq ange-ftp-ls-cache-file nil) ;Stop confusing Dired.
4123 0)
4122 4124
4123;;; This is turned off because it has nothing properly to do 4125;;; This is turned off because it has nothing properly to do
4124;;; with dired. It could be reasonable to adapt this to 4126;;; with dired. It could be reasonable to adapt this to