From: morioka Date: Wed, 7 May 1997 05:49:03 +0000 (+0000) Subject: (mime-view-cut-header): fixed. (cf.[tm-ja:2386]) X-Git-Tag: Hokutetsu-Ishikawa-new~16 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=8d0f6d821e8b5d371ac999ae18c1a8d1297c4888;p=elisp%2Fsemi.git (mime-view-cut-header): fixed. (cf.[tm-ja:2386]) --- diff --git a/mime-view.el b/mime-view.el index 3f874b2..a281bef 100644 --- a/mime-view.el +++ b/mime-view.el @@ -6,7 +6,7 @@ ;; Created: 1994/7/13 ;; Renamed: 1994/8/31 from tm-body.el ;; Renamed: 1997/02/19 from tm-view.el -;; Version: $Revision: 0.83 $ +;; Version: $Revision: 0.84 $ ;; Keywords: MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -40,7 +40,7 @@ ;;; (defconst mime-view-RCS-ID - "$Id: mime-view.el,v 0.83 1997-04-03 17:46:05 morioka Exp $") + "$Id: mime-view.el,v 0.84 1997-05-07 05:49:03 morioka Exp $") (defconst mime-view-version (get-version-string mime-view-RCS-ID)) @@ -296,9 +296,10 @@ Please redefine this function if you want to change default setting." (string-match regexp name) )) mime-view-visible-field-list) (delete-region beg - (if (re-search-forward "^\\([^ \t]\\|$\\)" nil t) - (match-beginning 0) - (point-max))) + (save-excursion + (if (re-search-forward "^\\([^ \t]\\|$\\)" nil t) + (match-beginning 0) + (point-max)))) )))) (defun mime-view-default-content-header-filter ()