;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.54 $
+;; Version: $Revision: 0.55 $
;; 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.54 1997-03-17 15:43:20 morioka Exp $")
+ "$Id: mime-view.el,v 0.55 1997-03-17 15:48:10 morioka Exp $")
(defconst mime-view-version (get-version-string mime-view-RCS-ID))
(defconst mime-view-menu-title "MIME-View")
(defconst mime-view-menu-list
'((up "Move to upper content" mime-view-move-to-upper)
- (previous "Move to previous content" mime-view-previous-content)
+ (previous "Move to previous content" mime-view-move-to-previous)
(next "Move to next content" mime-view-next-content)
(scroll-down "Scroll to previous content" mime-view-scroll-down-content)
(scroll-up "Scroll to next content" mime-view-scroll-up-content)
(define-key mime-view-mode-map
"u" (function mime-view-move-to-upper))
(define-key mime-view-mode-map
- "p" (function mime-view-previous-content))
+ "p" (function mime-view-move-to-previous))
(define-key mime-view-mode-map
"n" (function mime-view-next-content))
(define-key mime-view-mode-map
- "\e\t" (function mime-view-previous-content))
+ "\e\t" (function mime-view-move-to-previous))
(define-key mime-view-mode-map
"\t" (function mime-view-next-content))
(define-key mime-view-mode-map
(mime-view-quit)
))))
-(defun mime-view-previous-content ()
+(defun mime-view-move-to-previous ()
+ "Move to previous entity.
+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))