projects
/
elisp
/
semi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(mime-save-content): Return filename.
[elisp/semi.git]
/
mime-play.el
diff --git
a/mime-play.el
b/mime-play.el
index
c537175
..
0c89895
100644
(file)
--- a/
mime-play.el
+++ b/
mime-play.el
@@
-1,6
+1,7
@@
;;; mime-play.el --- Playback processing module for mime-view.el
;;; 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)
;; Author: MORIOKA Tomohiko <tomo@m17n.org>
;; Created: 1995/9/26 (separated from tm-view.el)
@@
-21,8
+22,8
@@
;; 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
;; 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:
;;; Code:
@@
-280,7
+281,7
@@
window.")
(or (yes-or-no-p (format "File %s exists. Save anyway? " filename))
(error "")))
(mime-write-entity-content entity (expand-file-name filename))
(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
;;; @ file detection
@@
-332,8
+333,7
@@
SUBTYPE is symbol to indicate subtype of media-type.")
It is registered to variable `mime-preview-quitting-method-alist'."
(let ((mother mime-mother-buffer)
(win-conf mime-preview-original-window-configuration))
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)
(kill-buffer mime-view-temp-message-buffer))
(mime-preview-kill-buffer)
(set-window-configuration win-conf)
@@
-378,6
+378,8
@@
occurs."
(make-directory dir))
(set-default-file-modes orig-modes)))))
(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
(defun mime-store-message/partial-piece (entity cal)
(let ((root-dir
(expand-file-name