From 33d34ecbcfe7d48c5611d4397ad7eb0ebd0119e8 Mon Sep 17 00:00:00 2001 From: vitaly Date: Mon, 25 Jan 2010 09:27:20 +0000 Subject: [PATCH] Ask user for MIME type and subtype during interactive file insertion, not only encoding. --- ChangeLog | 6 ++++++ mime-edit.el | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f3f48e2..b945855 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ +2010-01-25 Vitaly Mayatskikh + + * mime-edit.el (mime-edit-insert-file): Ask user for MIME type and + subtype during interactive file insertion, not only encoding. + 2010-01-19 Vitaly Mayatskikh + * mime-view.el (toplevel): New defcustom: mime-view-buttons-visible * mime-view.el (mime-display-entity): Use mime-view-buttons-visible to control visibility of MIME buttons. diff --git a/mime-edit.el b/mime-edit.el index e1577f0..fc68f79 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -1157,13 +1157,10 @@ If optional argument SUBTYPE is not nil, text/SUBTYPE tag is inserted." (disposition-type (nth 4 guess)) (disposition-params (nth 5 guess)) ) - (if verbose - (setq type (mime-prompt-for-type type) - subtype (mime-prompt-for-subtype type subtype) - )) (if (or (interactive-p) verbose) - (setq encoding (mime-prompt-for-encoding encoding)) - ) + (setq type (mime-prompt-for-type type) + subtype (mime-prompt-for-subtype type subtype) + encoding (mime-prompt-for-encoding encoding))) (if (or (consp parameters) (stringp disposition-type)) (let ((rest parameters) cell attribute value) (setq parameters "") -- 1.7.10.4