Add dummy handlers for file-truename and vc-registered.
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 Oct 1992 06:43:48 +0000 (06:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 Oct 1992 06:43:48 +0000 (06:43 +0000)
lisp/ange-ftp.el

index ce33577..09c9bab 100644 (file)
@@ -857,7 +857,7 @@ SIZE, if supplied, should be a prime number."
 ;;;; Internal variables.
 ;;;; ------------------------------------------------------------
 
-(defconst ange-ftp-version "$Revision: 1.7 $")
+(defconst ange-ftp-version "$Revision: 1.8 $")
 
 (defvar ange-ftp-data-buffer-name " *ftp data*"
   "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.")
 (put 'file-name-sans-versions 'ange-ftp 'ange-ftp-file-name-sans-versions)
 (put 'dired-uncache 'ange-ftp 'ange-ftp-dired-uncache)
 (put 'dired-compress-file 'ange-ftp 'ange-ftp-dired-compress-file)
+
+;; Turn off truename processing to save time.
+;; Treat each name as its own truename.
+(put 'file-truename 'ange-ftp 'identity)
+
+;; Turn off RCS/SCCS processing to save time.
+;; This returns nil for any file name as argument.
+(put 'vc-registered 'ange-ftp 'null)
 \f
 ;;; Define ways of getting at unmodified Emacs primitives,
 ;;; turning off our handler.