Synch with Oort Gnus.
authoryamaoka <yamaoka>
Thu, 9 Jan 2003 03:54:38 +0000 (03:54 +0000)
committeryamaoka <yamaoka>
Thu, 9 Jan 2003 03:54:38 +0000 (03:54 +0000)
lisp/ChangeLog
lisp/mml.el

index 6218e07..cb1754a 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-09  Jesper Harder  <harder@ifa.au.dk>
+
+       * mml.el (mml-preview): Get rid of MIME handles and buffers after
+       previewing.
+
 2003-01-08  Paul Jarc  <prj@po.cwru.edu>
 
        * nnmaildir.el (nnmaildir--grp-add-art): Fix wrong-type-argument
index ff3f98e..1018f39 100644 (file)
@@ -1068,6 +1068,10 @@ If RAW, don't highlight the article."
            (gnus-article-prepare-display))))
       ;; Disable article-mode-map.
       (use-local-map nil)
+      (make-local-hook 'kill-buffer-hook)
+      (add-hook 'kill-buffer-hook
+               (lambda ()
+                 (mm-destroy-parts gnus-article-mime-handles)) nil t)
       (setq buffer-read-only t)
       (local-set-key "q" (lambda () (interactive) (kill-buffer nil)))
       (goto-char (point-min)))))