diff options
| author | Richard M. Stallman | 1992-09-17 19:50:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-09-17 19:50:27 +0000 |
| commit | 8feebd073e175456d183382e8313ce34eee9f9d6 (patch) | |
| tree | 7c685f30c608c502eacc609b842fb8981e7f89d2 | |
| parent | a50699fdb42601f1c5636fb111fd5b860313eb51 (diff) | |
| download | emacs-8feebd073e175456d183382e8313ce34eee9f9d6.tar.gz emacs-8feebd073e175456d183382e8313ce34eee9f9d6.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/ange-ftp.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 5d36a2e85e3..34e24e8ceda 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -2825,9 +2825,9 @@ system TYPE.") | |||
| 2825 | "Documented as original." | 2825 | "Documented as original." |
| 2826 | (let ((parsed (ange-ftp-ftp-name name))) | 2826 | (let ((parsed (ange-ftp-ftp-name name))) |
| 2827 | (if parsed | 2827 | (if parsed |
| 2828 | (let ((name (nth 2 parsed))) | 2828 | (let ((filename (nth 2 parsed))) |
| 2829 | (if (ange-ftp-save-match-data | 2829 | (if (ange-ftp-save-match-data |
| 2830 | (string-match "^~[^/]*$" name)) | 2830 | (string-match "^~[^/]*$" filename)) |
| 2831 | "" | 2831 | "" |
| 2832 | (ange-ftp-real-file-name-nondirectory name))) | 2832 | (ange-ftp-real-file-name-nondirectory name))) |
| 2833 | (ange-ftp-real-file-name-nondirectory name)))) | 2833 | (ange-ftp-real-file-name-nondirectory name)))) |
| @@ -3610,9 +3610,9 @@ system TYPE.") | |||
| 3610 | (ange-ftp-real-delete-directory dir))) | 3610 | (ange-ftp-real-delete-directory dir))) |
| 3611 | (error "Not a directory: %s" dir))) | 3611 | (error "Not a directory: %s" dir))) |
| 3612 | 3612 | ||
| 3613 | ;; This may need more work. | 3613 | ;; Make a local copy of FILE and return its name. |
| 3614 | 3614 | ||
| 3615 | (defun ange-ftp-diff-prepare (file) | 3615 | (defun ange-ftp-file-local-copy (file) |
| 3616 | (let* ((fn1 (expand-file-name file)) | 3616 | (let* ((fn1 (expand-file-name file)) |
| 3617 | (pa1 (ange-ftp-ftp-name fn1))) | 3617 | (pa1 (ange-ftp-ftp-name fn1))) |
| 3618 | (if pa1 | 3618 | (if pa1 |
| @@ -3620,7 +3620,7 @@ system TYPE.") | |||
| 3620 | (bin1 (ange-ftp-binary-file fn1))) | 3620 | (bin1 (ange-ftp-binary-file fn1))) |
| 3621 | (ange-ftp-copy-file-internal fn1 tmp1 t nil | 3621 | (ange-ftp-copy-file-internal fn1 tmp1 t nil |
| 3622 | (format "Getting %s" fn1)) | 3622 | (format "Getting %s" fn1)) |
| 3623 | pa1)))) | 3623 | tmp1)))) |
| 3624 | 3624 | ||
| 3625 | ;; Need the following functions for making filenames of compressed | 3625 | ;; Need the following functions for making filenames of compressed |
| 3626 | ;; files, because some OS's (unlike UNIX) do not allow a filename to | 3626 | ;; files, because some OS's (unlike UNIX) do not allow a filename to |
| @@ -3772,7 +3772,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 3772 | (put 'file-name-all-completions 'ange-ftp 'ange-ftp-file-name-all-completions) | 3772 | (put 'file-name-all-completions 'ange-ftp 'ange-ftp-file-name-all-completions) |
| 3773 | (put 'file-name-completion 'ange-ftp 'ange-ftp-file-name-completion) | 3773 | (put 'file-name-completion 'ange-ftp 'ange-ftp-file-name-completion) |
| 3774 | (put 'insert-directory 'ange-ftp 'ange-ftp-insert-directory) | 3774 | (put 'insert-directory 'ange-ftp 'ange-ftp-insert-directory) |
| 3775 | (put 'diff-prepare 'ange-ftp 'ange-ftp-diff-prepare) | 3775 | (put 'file-local-copy 'ange-ftp 'ange-ftp-file-local-copy) |
| 3776 | (put 'file-name-sans-versions 'ange-ftp 'ange-ftp-file-name-sans-versions) | 3776 | (put 'file-name-sans-versions 'ange-ftp 'ange-ftp-file-name-sans-versions) |
| 3777 | (put 'dired-uncache 'ange-ftp 'ange-ftp-dired-uncache) | 3777 | (put 'dired-uncache 'ange-ftp 'ange-ftp-dired-uncache) |
| 3778 | (put 'dired-compress-file 'ange-ftp 'ange-ftp-dired-compress-file) | 3778 | (put 'dired-compress-file 'ange-ftp 'ange-ftp-dired-compress-file) |