From: yamaoka Date: Tue, 17 Aug 1999 02:29:53 +0000 (+0000) Subject: Sync up with the latest semi-1_13 branch. X-Git-Tag: wemi-1_13_6~9 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d1ae4cd405a17a89160e43a5741d207fbce29732;p=elisp%2Fsemi.git Sync up with the latest semi-1_13 branch. --- diff --git a/ChangeLog b/ChangeLog index d60b3d0..c595dc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-08-17 Katsumi Yamaoka + + * mime-view.el (mime-preview-original-major-mode): Don't use + `get-text-property' at the end of the buffer. + 1999-08-02 MORIOKA Tomohiko * mime-view.el (mime-preview-follow-current-entity): diff --git a/mime-view.el b/mime-view.el index e5c7801..68ff42f 100644 --- a/mime-view.el +++ b/mime-view.el @@ -131,7 +131,10 @@ mother-buffer." (mime-preview-original-major-mode recursive) ) (cdr (assq 'major-mode - (get-text-property (or point (point)) 'mime-view-situation))))) + (get-text-property (or point (if (eobp) + (1- (point-max)) + (point))) + 'mime-view-situation))))) ;;; @ entity information