From 45a2c5d2718dfc13ad5124e99eaea1db90ff1de6 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 17 Aug 1999 02:31:54 +0000 Subject: [PATCH] Sync up with the latest semi-1_13 branch. --- ChangeLog | 5 +++++ mime-view.el | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a214f70..3eae94e 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 cb3a937..168a73d 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 -- 1.7.10.4