;;; emu-20.el --- emu API implementation for Emacs 20 and XEmacs/mule
-;; Copyright (C) 1997 Free Software Foundation, Inc.
+;; Copyright (C) 1997,1998 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: emu-20.el,v 7.18 1997/11/04 08:36:40 morioka Exp $
;; Keywords: emulation, compatibility, Mule
;; This file is part of emu.
(insert-file-contents-literally filename visit beg end replace)
))
+(defun insert-binary-file-contents
+ (filename &optional visit beg end replace)
+ "Like `insert-file-contents', q.v., but don't code and format conversion."
+ (let ((coding-system-for-read 'binary)
+ format-alist)
+ (insert-file-contents filename visit beg end replace)
+ ))
+
;;; @@ Mule emulating aliases
;;;
;;; You should not use it.
-;;; emu-e19.el --- emu module for Emacs 19 and XEmacs 19
+;;; emu-e19.el --- emu module for Emacs 19 and XEmacs without MULE
-;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
+;; Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: emu-e19.el,v 7.44 1997/02/13 08:15:39 morioka Exp $
;; Keywords: emulation, compatibility, mule, Latin-1
;; This file is part of emu.
(insert-file-contents-literally filename visit beg end replace)
))
+(defun insert-binary-file-contents
+ (filename &optional visit beg end replace)
+ "Like `insert-file-contents', q.v., but don't code and format conversion."
+ (let ((emx-binary-mode t))
+ (insert-file-contents filename visit beg end replace)
+ ))
+
+
;;; @ MIME charset
;;;
;;; emu-mule.el --- emu module for Mule 1.* and Mule 2.*
-;; Copyright (C) 1995,1996,1997 MORIOKA Tomohiko
+;; Copyright (C) 1995,1996,1997,1998 MORIOKA Tomohiko
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: emu-mule.el,v 7.65 1997/11/04 08:01:11 morioka Exp $
;; Keywords: emulation, compatibility, Mule
;; This file is part of emu.
find-file-hooks, etc.
This function ensures that none of these modifications will take place."
(let (mc-flag
- (file-coding-system *noconv*)
- )
+ (file-coding-system *noconv*))
(insert-file-contents-literally filename visit beg end replace)
))
+(defun insert-binary-file-contents
+ (filename &optional visit beg end replace)
+ "Like `insert-file-contents', q.v., but don't code and format conversion."
+ (let (mc-flag
+ (file-coding-system *noconv*))
+ (insert-file-contents filename visit beg end replace)
+ ))
+
;;; @ MIME charset
;;;
;;; emu-nemacs.el --- emu API implementation for NEmacs
-;; Copyright (C) 1995,1996,1997 MORIOKA Tomohiko
+;; Copyright (C) 1995,1996,1997,1998 MORIOKA Tomohiko
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: emu-nemacs.el,v 7.53 1997/04/05 16:23:23 morioka Exp $
;; Keywords: emulation, compatibility, NEmacs, mule
;; This file is part of emu.
to advanced Emacs features, such as file-name-handlers, format decoding,
find-file-hooks, etc.
This function ensures that none of these modifications will take place.
-\[emu.el]"
+\[emu-nemacs.el]"
(let (kanji-flag)
(insert-file-contents-literally filename visit beg end replace)
))
+(defun insert-binary-file-contents
+ (filename &optional visit beg end replace)
+ "Like `insert-file-contents', q.v., but don't code and format conversion.
+\[emu-nemacs.el]"
+ (let (kanji-flag)
+ (insert-file-contents filename visit beg end replace)
+ ))
+
;;; @ MIME charset
;;;