;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.55 $
+;; Version: $Revision: 0.56 $
;; Keywords: MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;;
(defconst mime-view-RCS-ID
- "$Id: mime-view.el,v 0.55 1997-03-17 15:48:10 morioka Exp $")
+ "$Id: mime-view.el,v 0.56 1997-03-17 15:59:51 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
If there is no previous entity, it calls function registered in
variable `mime-view-over-to-previous-method-alist'."
(interactive)
- (let* ((pcl mime::preview/content-list)
- (p (point))
- (i (- (length pcl) 1))
- beg)
- (catch 'tag
- (while (> i 0)
- (setq beg (mime::preview-content-info/point-min (nth i pcl)))
- (if (> p beg)
- (throw 'tag (goto-char beg))
- )
- (setq i (- i 1))
- )
+ (while (null (get-text-property (point) 'mime-view-cinfo))
+ (backward-char)
+ )
+ (let ((point (previous-single-property-change (point) 'mime-view-cinfo)))
+ (if point
+ (goto-char point)
(let ((f (assq mime::preview/original-major-mode
mime-view-over-to-previous-method-alist)))
(if f
(funcall (cdr f))
))
- )
- ))
+ )))
(defun mime-view-next-content ()
(interactive)