Fix file-name handling for `insert-file-contents'

Michael Sperber sperber at informatik.uni-tuebingen.de
Thu Nov 30 05:46:43 EST 2006


This was happening too late (in `insert-file-contents-internal'),
because `insert-file-contents' would do stuff before calling
`insert-file-contents-internal'.

This would cause unpleasant interactions (with Dired, for example),
causing the coding-system problems with Dired.

2006-11-30  Mike Sperber  <mike at 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 at 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.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://calypso.tux.org/pipermail/xemacs-patches/attachments/20061130/64b3007d/attachment-0001.pl 


More information about the XEmacs-Patches mailing list