diff src/fileio.c @ 3722:a0adf5f08c44

[xemacs-hg @ 2006-12-05 08:20:54 by michaels] 2006-11-30 Mike Sperber <mike@xemacs.org> * fileio.c (Finsert_file_contents_internal): Don't call the file-name handler for `insert-file-contents' from here, which is too late. Instead, do it from Lisp.SSper 2006-11-30 Mike Sperber <mike@xemacs.org> * code-files.el (insert-file-contents): Call the file-name handler from Lisp, not from `insert-file-contents-internal', which is too late.
author michaels
date Tue, 05 Dec 2006 08:21:03 +0000
parents 3e7493e76dc7
children 6765f2581182
line wrap: on
line diff
--- a/src/fileio.c	Mon Dec 04 22:51:08 2006 +0000
+++ b/src/fileio.c	Tue Dec 05 08:21:03 2006 +0000
@@ -2844,16 +2844,6 @@
 
   filename = Fexpand_file_name (filename, Qnil);
 
-  /* If the file name has special constructs in it,
-     call the corresponding file handler.  */
-  handler = Ffind_file_name_handler (filename, Qinsert_file_contents);
-  if (!NILP (handler))
-    {
-      val = call6 (handler, Qinsert_file_contents, filename,
-		   visit, start, end, replace);
-      goto handled;
-    }
-
   if (!NILP (used_codesys))
     CHECK_SYMBOL (used_codesys);