update.
[elisp/emh.git] / emh.el
diff --git a/emh.el b/emh.el
index ba23340..5dac778 100644 (file)
--- a/emh.el
+++ b/emh.el
 ;;; @ version
 ;;;
 
-(defconst emh-RCS-ID
-  "$Id: emh.el,v 1.5 1998-03-13 16:19:40 morioka Exp $")
-
-(defconst emh-version (get-version-string emh-RCS-ID))
+(defconst emh-version "1.1.1")
 
 
 ;;; @ variable
@@ -231,12 +228,11 @@ digest are inserted into the folder after that message."
 ;;; @ for mime-view
 ;;;
 
-(fset 'emh-text-decode-buffer
-      (symbol-function 'mime-text-decode-buffer))
+(set-alist 'mime-raw-buffer-coding-system-alist
+          'mh-show-mode 'no-conversion)
 
 (set-alist 'mime-text-decoder-alist
-          'mh-show-mode
-          (function emh-text-decode-buffer))
+          'mh-show-mode 'mime-text-decode-buffer)
 
 (defvar emh-content-header-filter-hook
   (if window-system
@@ -272,9 +268,8 @@ It is registered to variable `mime-view-content-header-filter-alist'."
     (mh-show (mh-get-msg-num t))
     ))
 
-(set-alist 'mime-view-quitting-method-alist
-          'mh-show-mode
-          (function emh-quitting-method))
+(set-alist 'mime-preview-quitting-method-alist
+          'mh-show-mode #'emh-quitting-method)
 (set-alist 'mime-view-show-summary-method
           'mh-show-mode
           (function emh-quitting-method))
@@ -306,7 +301,7 @@ It is registered to variable `mime-view-content-header-filter-alist'."
   "Internal method to combine message/partial messages automatically.")
 
 (set-atype 'mime-acting-condition
-          '((type . message)(type . partial)
+          '((type . message)(subtype . partial)
             (method . mime-method-to-combine-message/partial-pieces)
             (major-mode . mh-show-mode)
             (summary-buffer-exp