From ae502d8e2e41a8fac6fb18ceb21bedacd6864715 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 5 Jun 1998 05:01:54 +0000 Subject: [PATCH] (mime-view-display-entity): Display entity-button in body if button is invisible and body-presentation-method is not found. --- mime-view.el | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/mime-view.el b/mime-view.el index 24a5c70..9f7ac03 100644 --- a/mime-view.el +++ b/mime-view.el @@ -793,13 +793,18 @@ The compressed face will be piped to this command.") ))) ((functionp body-presentation-method) (funcall body-presentation-method entity situation) + ) + (t + (when button-is-invisible + (goto-char (point-max)) + (mime-view-insert-entity-button entity message-info subj) + ) + (or header-is-visible + (progn + (goto-char (point-max)) + (insert "\n") + )) )) - (or header-is-visible - body-presentation-method - (progn - (goto-char (point-max)) - (insert "\n") - )) (setq ne (point-max)) (widen) (put-text-property nb ne 'mime-view-raw-buffer ibuf) -- 1.7.10.4