Mercurial > hg > xemacs-beta
diff lisp/tm/tm-rmail.el @ 22:8fc7fe29b841 r19-15b94
Import from CVS: tag r19-15b94
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:50:29 +0200 |
parents | 4b173ad71786 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/lisp/tm/tm-rmail.el Mon Aug 13 08:50:06 2007 +0200 +++ b/lisp/tm/tm-rmail.el Mon Aug 13 08:50:29 2007 +0200 @@ -1,11 +1,11 @@ ;;; tm-rmail.el --- MIME extension for RMAIL -;; Copyright (C) 1994,1995,1996 Free Software Foundation, Inc. +;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp> ;; modified by KOBAYASHI Shuhei <shuhei-k@jaist.ac.jp> ;; Created: 1994/8/30 -;; Version: $Revision: 1.2 $ +;; Version: $Revision: 1.3 $ ;; Keywords: mail, MIME, multimedia, multilingual, encoded-word ;; This file is not part of tm (Tools for MIME). @@ -40,7 +40,7 @@ ;;; (defconst tm-rmail/RCS-ID - "$Id: tm-rmail.el,v 1.2 1996/12/22 00:29:42 steve Exp $") + "$Id: tm-rmail.el,v 1.3 1997/02/16 01:29:34 steve Exp $") (defconst tm-rmail/version (get-version-string tm-rmail/RCS-ID)) (defvar tm-rmail/decode-all nil) @@ -189,8 +189,16 @@ (defun tm-rmail/quitting-method-to-article () (setq tm-rmail/decode-all nil) - (mime-viewer/kill-buffer) - ) + (let ((buffer + (mime::preview-content-info/buffer + (mime-preview/point-pcinfo (point)))) + ) + (mime-viewer/kill-buffer) + + ;; Make sure we return to RMAIL buffer + (if buffer + (switch-to-buffer buffer)) + )) (defalias 'tm-rmail/quitting-method 'tm-rmail/quitting-method-to-article)