projects
/
elisp
/
semi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f07766d
)
(mime-preview-original-major-mode): Modify the way of checking for the end of
author
yamaoka
<yamaoka>
Tue, 17 Aug 1999 23:03:44 +0000
(23:03 +0000)
committer
yamaoka
<yamaoka>
Tue, 17 Aug 1999 23:03:44 +0000
(23:03 +0000)
the buffer.
mime-view.el
patch
|
blob
|
history
diff --git
a/mime-view.el
b/mime-view.el
index
168a73d
..
964c687
100644
(file)
--- a/
mime-view.el
+++ b/
mime-view.el
@@
-131,9
+131,10
@@
mother-buffer."
(mime-preview-original-major-mode recursive)
)
(cdr (assq 'major-mode
- (get-text-property (or point (if (eobp)
- (1- (point-max))
- (point)))
+ (get-text-property (or point
+ (if (> (point) (buffer-size))
+ (max (1- (point-max)) (point-min))
+ (point)))
'mime-view-situation)))))