diff options
| author | Richard M. Stallman | 1992-10-20 06:43:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-10-20 06:43:48 +0000 |
| commit | 243e5206344ca85db89dd5696a255bb1d132d49d (patch) | |
| tree | aba48b0a9b3c06cf42108694b977a8637a2c3399 | |
| parent | 6f176f940e0baa564508240186706b541083f641 (diff) | |
| download | emacs-243e5206344ca85db89dd5696a255bb1d132d49d.tar.gz emacs-243e5206344ca85db89dd5696a255bb1d132d49d.zip | |
Add dummy handlers for file-truename and vc-registered.
| -rw-r--r-- | lisp/ange-ftp.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index ce3357726c3..09c9bab1427 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -857,7 +857,7 @@ SIZE, if supplied, should be a prime number." | |||
| 857 | ;;;; Internal variables. | 857 | ;;;; Internal variables. |
| 858 | ;;;; ------------------------------------------------------------ | 858 | ;;;; ------------------------------------------------------------ |
| 859 | 859 | ||
| 860 | (defconst ange-ftp-version "$Revision: 1.7 $") | 860 | (defconst ange-ftp-version "$Revision: 1.8 $") |
| 861 | 861 | ||
| 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 863 | "Buffer name to hold directory listing data received from ftp process.") | 863 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -3780,6 +3780,14 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 3780 | (put 'file-name-sans-versions 'ange-ftp 'ange-ftp-file-name-sans-versions) | 3780 | (put 'file-name-sans-versions 'ange-ftp 'ange-ftp-file-name-sans-versions) |
| 3781 | (put 'dired-uncache 'ange-ftp 'ange-ftp-dired-uncache) | 3781 | (put 'dired-uncache 'ange-ftp 'ange-ftp-dired-uncache) |
| 3782 | (put 'dired-compress-file 'ange-ftp 'ange-ftp-dired-compress-file) | 3782 | (put 'dired-compress-file 'ange-ftp 'ange-ftp-dired-compress-file) |
| 3783 | |||
| 3784 | ;; Turn off truename processing to save time. | ||
| 3785 | ;; Treat each name as its own truename. | ||
| 3786 | (put 'file-truename 'ange-ftp 'identity) | ||
| 3787 | |||
| 3788 | ;; Turn off RCS/SCCS processing to save time. | ||
| 3789 | ;; This returns nil for any file name as argument. | ||
| 3790 | (put 'vc-registered 'ange-ftp 'null) | ||
| 3783 | 3791 | ||
| 3784 | ;;; Define ways of getting at unmodified Emacs primitives, | 3792 | ;;; Define ways of getting at unmodified Emacs primitives, |
| 3785 | ;;; turning off our handler. | 3793 | ;;; turning off our handler. |