From: morioka Date: Fri, 17 Apr 1998 00:37:43 +0000 (+0000) Subject: Move binary access features to emu-e20.el again. X-Git-Tag: apel-8_3~18 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7216dfebf8bc47bf6250dcc51dc98145f051c214;p=elisp%2Fapel.git Move binary access features to emu-e20.el again. --- diff --git a/emu-e20_2.el b/emu-e20_2.el index 4c1ceb5..b6cf55f 100644 --- a/emu-e20_2.el +++ b/emu-e20_2.el @@ -28,31 +28,6 @@ ;;; Code: -;;; @ binary access -;;; - -(defun insert-file-contents-as-binary (filename - &optional visit beg end replace) - "Like `insert-file-contents', q.v., but don't code and format conversion. -Like `insert-file-contents-literary', but it allows find-file-hooks, -automatic uncompression, etc. - -Namely this function ensures that only format decoding and character -code conversion will not take place." - (let ((flag enable-multibyte-characters) - (coding-system-for-read 'binary) - format-alist) - (insert-file-contents filename visit beg end replace) - (setq enable-multibyte-characters flag) - )) - -(defalias 'insert-binary-file-contents 'insert-file-contents-as-binary) -(make-obsolete 'insert-binary-file-contents 'insert-file-contents-as-binary) - -(defalias 'insert-binary-file-contents-literally - 'insert-file-contents-literally) - - ;;; @ MIME charset ;;;