From 495d55fed1fde619fecb42120fc8faf610a16036 Mon Sep 17 00:00:00 2001 From: morioka Date: Wed, 26 Nov 1997 09:40:34 +0000 Subject: [PATCH] (mh-display-msg): Use `raw-text' coding-system do canonicalize line break code. --- emh.el | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/emh.el b/emh.el index 1996c2f..7319024 100644 --- a/emh.el +++ b/emh.el @@ -8,7 +8,7 @@ ;; Created: 1993/11/21 ;; Renamed: 1993/11/27 from mh-e-mime.el ;; Renamed: 1997/02/21 from tm-mh-e.el -;; Version: $Revision: 0.22 $ +;; Version: $Revision: 0.23 $ ;; Keywords: MH, MIME, multimedia, encoded-word, multilingual, mail ;; This file is part of emh. @@ -38,7 +38,7 @@ ;;; (defconst emh-RCS-ID - "$Id: emh.el,v 0.22 1997-11-15 15:37:34 morioka Exp $") + "$Id: emh.el,v 0.23 1997-11-26 09:40:34 morioka Exp $") (defconst emh-version (get-version-string emh-RCS-ID)) @@ -102,13 +102,9 @@ nil, `emh-automatic-mime-preview' is used as default value." (setq abuf (get-buffer-create aname)) (set-buffer abuf) ) - (as-binary-input-file - (insert-file-contents msg-filename) - ;; (goto-char (point-min)) - (while (re-search-forward "\r$" nil t) - (replace-match "") - ) - ) + (let ((coding-system-for-read 'raw-text)) + (insert-file-contents msg-filename) + ) (set-buffer-modified-p nil) (setq buffer-read-only t) (setq buffer-file-name msg-filename) -- 1.7.10.4