From 3450eadda082a987e77ba67fb998eb0e8a40d6e9 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 9 Jan 2003 03:54:38 +0000 Subject: [PATCH] Synch with Oort Gnus. --- lisp/ChangeLog | 5 +++++ lisp/mml.el | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6218e07..cb1754a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-01-09 Jesper Harder + + * mml.el (mml-preview): Get rid of MIME handles and buffers after + previewing. + 2003-01-08 Paul Jarc * nnmaildir.el (nnmaildir--grp-add-art): Fix wrong-type-argument diff --git a/lisp/mml.el b/lisp/mml.el index ff3f98e..1018f39 100644 --- a/lisp/mml.el +++ b/lisp/mml.el @@ -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))))) -- 1.7.10.4