From 509f90f15df2dd9d94ee2c7f35da8d9d5c9c391f Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 10 Jan 2000 14:03:18 +0000 Subject: [PATCH] (emh-toggle-decoding-mode): Don't refer `mime-raw-buffer'. --- emh.el | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/emh.el b/emh.el index af0ad17..460d770 100644 --- a/emh.el +++ b/emh.el @@ -173,13 +173,11 @@ With arg, turn MIME processing on if arg is positive." (if (null arg) (not emh-automatic-mime-preview) arg)) - (save-excursion - (set-buffer mh-show-buffer) - (if (null emh-automatic-mime-preview) - (if (and mime-raw-buffer - (get-buffer mime-raw-buffer)) - (kill-buffer mime-raw-buffer) - ))) + (let ((raw-buffer + (concat "article-" (buffer-name (current-buffer))))) + (if (get-buffer raw-buffer) + (kill-buffer raw-buffer) + )) (mh-invalidate-show-buffer) (mh-show (mh-get-msg-num t)) ) -- 1.7.10.4