(emh-toggle-decoding-mode): Don't refer `mime-raw-buffer'.
authortomo <tomo>
Mon, 10 Jan 2000 14:03:18 +0000 (14:03 +0000)
committertomo <tomo>
Mon, 10 Jan 2000 14:03:18 +0000 (14:03 +0000)
emh.el

diff --git a/emh.el b/emh.el
index af0ad17..460d770 100644 (file)
--- 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))
   )