;;; mime-play.el --- Playback processing module for mime-view.el
-;; Copyright (C) 1994,95,96,97,98,99,2000 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003,
+;; 2004, 2010 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <tomo@m17n.org>
;; Created: 1995/9/26 (separated from tm-view.el)
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Code:
(or (yes-or-no-p (format "File %s exists. Save anyway? " filename))
(error "")))
(mime-write-entity-content entity (expand-file-name filename))
- ))
+ filename))
;;; @ file detection
It is registered to variable `mime-preview-quitting-method-alist'."
(let ((mother mime-mother-buffer)
(win-conf mime-preview-original-window-configuration))
- (if (and (boundp 'mime-view-temp-message-buffer)
- (buffer-live-p mime-view-temp-message-buffer))
+ (if (buffer-live-p mime-view-temp-message-buffer)
(kill-buffer mime-view-temp-message-buffer))
(mime-preview-kill-buffer)
(set-window-configuration win-conf)
(make-directory dir))
(set-default-file-modes orig-modes)))))
+(defvar mime-view-temp-message-buffer nil) ; buffer local variable
+
(defun mime-store-message/partial-piece (entity cal)
(let ((root-dir
(expand-file-name