emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `fset' in insert-file-contents-literally


From: Eli Zaretskii
Subject: Re: `fset' in insert-file-contents-literally
Date: Mon, 22 Mar 2010 20:16:35 +0200

> From: Stefan Monnier <address@hidden>
> Date: Mon, 22 Mar 2010 12:04:04 -0400
> 
> Could someone try to get rid of the:
> 
>   (fset 'find-buffer-file-type (lambda (filename) t))
> 
> in insert-file-contents-literally, e.g. by changing
> find-buffer-file-type such that it always returns t when
> coding-system-for-read and coding-system-for-write and set to something
> like `no-conversion'?

I think we should get rid of find-buffer-file-type itself and its
companion file-name-buffer-file-type-alist.  They've become redundant
long ago, since EOL decoding was introduced.  It's time to say
good-bye.  We should use the equivalent Mule facilities for that.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]