;; Created: 1994/7/13
;; Renamed: 1994/8/31 from tm-body.el
;; Renamed: 1997/02/19 from tm-view.el
-;; Version: $Revision: 0.53 $
+;; Version: $Revision: 0.54 $
;; 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.53 1997-03-17 15:39:17 morioka Exp $")
+ "$Id: mime-view.el,v 0.54 1997-03-17 15:43:20 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-up-content)
+ '((up "Move to upper content" mime-view-move-to-upper)
(previous "Move to previous content" mime-view-previous-content)
(next "Move to next content" mime-view-next-content)
(scroll-down "Scroll to previous content" mime-view-scroll-down-content)
(make-sparse-keymap)
)))
(define-key mime-view-mode-map
- "u" (function mime-view-up-content))
+ "u" (function mime-view-move-to-upper))
(define-key mime-view-mode-map
"p" (function mime-view-previous-content))
(define-key mime-view-mode-map
(mime-view-x-face-function)
))
-(defun mime-view-up-content ()
+(defun mime-view-move-to-upper ()
+ "Move to upper entity.
+If there is no upper entity, call function `mime-view-quit'."
(interactive)
(let (cinfo)
(while (null (setq cinfo (get-text-property (point) 'mime-view-cinfo)))