"application/pgp" "text/x-pgp"
"application/octet-stream"
"application/x-selection" "application/x-comment")
- "*List of media-types to be able to display in MIME-View buffer.
+ "*List of media-types to be able to display in MIME-preview buffer.
Each elements are string of TYPE/SUBTYPE, e.g. \"text/plain\".")
(defvar mime-view-content-button-visible-ctype-list
("text/richtext" . mime-view-filter-for-text/richtext)
(t . mime-view-filter-for-text/plain)
)
- "Alist of media-types vs. corresponding MIME-View filter functions.
+ "Alist of media-types vs. corresponding MIME-preview filter functions.
Each element looks like (TYPE/SUBTYPE . FUNCTION) or (t . FUNCTION).
TYPE/SUBTYPE is a string of media-type and FUNCTION is a filter
function. t means default media-type.")
(make-variable-buffer-local 'mime-raw-entity-info)
(defvar mime-preview-buffer nil
- "MIME preview buffer corresponding with the (raw) buffer.")
+ "MIME-preview buffer corresponding with the (raw) buffer.")
(make-variable-buffer-local 'mime-preview-buffer)
;;;
(defvar mime-mother-buffer nil
- "Mother buffer corresponding with the (MIME-View) buffer.
-If current MIME-View buffer is generated by other buffer, such as
+ "Mother buffer corresponding with the (MIME-preview) buffer.
+If current MIME-preview buffer is generated by other buffer, such as
message/partial, it is called `mother-buffer'.")
(make-variable-buffer-local 'mime-mother-buffer)
(defvar mime-raw-buffer nil
- "Raw buffer corresponding with the (MIME-View) buffer.")
+ "Raw buffer corresponding with the (MIME-preview) buffer.")
(make-variable-buffer-local 'mime-raw-buffer)
(defvar mime-preview-original-major-mode nil
;;; @@ following
;;;
-(defun mime-view-get-original-major-mode ()
+(defun mime-preview-original-major-mode ()
"Return major-mode of original buffer.
If a current buffer has mime-mother-buffer, return original major-mode
of the mother-buffer."
(if mime-mother-buffer
(save-excursion
(set-buffer mime-mother-buffer)
- (mime-view-get-original-major-mode)
+ (mime-preview-original-major-mode)
)
mime-preview-original-major-mode))
(setq p-end (point-max))
))
))
- (let* ((mode (mime-view-get-original-major-mode))
+ (let* ((mode (mime-preview-original-major-mode))
(new-name (format "%s-%s" (buffer-name) (reverse rcnum)))
new-buf
(the-buf (current-buffer))
;;;
(defun mime-preview-quit ()
- "Quit from MIME-View buffer.
+ "Quit from MIME-preview buffer.
It calls function registered in variable
`mime-view-quitting-method-alist'."
(interactive)