(mime-setup-decode-message-header): Use `mime-decode-header-in-buffer'
authortomo <tomo>
Thu, 19 Aug 1999 05:00:18 +0000 (05:00 +0000)
committertomo <tomo>
Thu, 19 Aug 1999 05:00:18 +0000 (05:00 +0000)
instead of `mime/decode-message-header'.
(mu-cite/pre-cite-hook): Likewise.
(mail-setup-hook): Likewise.
(message-header-hook): Use `eword-encode-header' instead of
`mime/encode-message-header'.

mime-setup.el.in

index c12bc6f..818e58d 100644 (file)
@@ -30,7 +30,7 @@
 
 (autoload 'mime/editor-mode "tm-edit"
   "Minor mode for editing MIME message." t)
-(autoload 'mime/decode-message-header "tm-ew-d"
+(autoload 'mime-decode-header-in-buffer "eword-decode"
   "Decode MIME encoded-words in message header." t)
 
 (defun mime-setup-decode-message-header ()
@@ -45,7 +45,7 @@
           (match-beginning 0)
         (point-max)
         ))
-      (mime/decode-message-header)
+      (mime-decode-header-in-buffer)
       (set-buffer-modified-p nil)
       )))
 
 ;;; @ for mu-cite
 ;;;
 
-(add-hook 'mu-cite/pre-cite-hook 'mime/decode-message-header)
+(add-hook 'mu-cite/pre-cite-hook 'mime-decode-header-in-buffer)
 
 
 ;;; @ for mail-mode, RMAIL and VM
 ;;;
 
-(add-hook 'mail-setup-hook 'mime/decode-message-header)
+(add-hook 'mail-setup-hook 'mime-decode-header-in-buffer)
 (add-hook 'mail-setup-hook 'mime/editor-mode 'append)
 (add-hook 'mail-send-hook  'mime-editor/maybe-translate)
 (set-alist 'mime-editor/split-message-sender-alist
       (add-hook 'message-setup-hook 'mime/editor-mode)
       (add-hook 'message-setup-hook 'message-maybe-setup-default-charset)
       (add-hook 'message-send-hook  'mime-editor/maybe-translate)
-      (add-hook 'message-header-hook 'mime/encode-message-header)
+      (add-hook 'message-header-hook 'eword-encode-header)
       
       (call-after-loaded
        'message