(insert-file-contents filename visit beg end replace)
))
+(if running-emacs-19_29-or-later
+ ;; for MULE 2.3 based on Emacs 19.34.
+ (defun write-region-as-binary (start end filename
+ &optional append visit lockname)
+ "Like `write-region', q.v., but don't code conversion."
+ (let (mc-flag
+ (file-coding-system *noconv*))
+ (write-region start end filename append visit lockname)
+ ))
+ ;; for MULE 2.3 based on Emacs 19.28.
+ (defun write-region-as-binary (start end filename
+ &optional append visit lockname)
+ "Like `write-region', q.v., but don't code conversion."
+ (let (mc-flag
+ (file-coding-system *noconv*))
+ (write-region start end filename append visit)
+ ))
+ )
+
;;; @ MIME charset
;;;
;;; @ binary access
;;;
-(defun insert-binary-file-contents-literally
- (filename &optional visit beg end replace)
+(defun insert-binary-file-contents-literally (filename
+ &optional visit beg end replace)
"Like `insert-file-contents-literally', q.v., but don't code conversion.
A buffer may be modified in several ways after reading into the buffer due
to advanced Emacs features, such as file-name-handlers, format decoding,
(insert-file-contents-literally filename visit beg end replace)
))
-(defun insert-binary-file-contents
- (filename &optional 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)
))
+(defun write-region-as-binary (start end filename
+ &optional append visit lockname)
+ "Like `write-region', q.v., but don't code conversion. [emu-nemacs.el]"
+ (let (kanji-flag)
+ (write-region start end filename append visit)
+ ))
+
;;; @ MIME charset
;;;