Variable `tm:warning-face' was renamed to `eword-warning-face'.
[elisp/semi.git] / mime-def.el
index 89e48ca..dc5bce7 100644 (file)
@@ -3,7 +3,7 @@
 ;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
 
 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-def.el,v 0.8 1997-02-25 06:15:38 tmorioka Exp $
+;; Version: $Id: mime-def.el,v 0.12 1997-02-25 06:35:05 tmorioka Exp $
 ;; Keywords: definition, MIME, multimedia, mail, news
 
 ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
 (defconst mime/temp-buffer-name " *MIME-temp*")
 
 
-;;; @ charset and encoding
-;;;
-
-(defun mime/encoding-name (transfer-level &optional not-omit)
-  (cond ((> transfer-level 8) "binary")
-       ((= transfer-level 8) "8bit")
-       (not-omit "7bit")
-       ))
-
-(defun mime/make-charset-default-encoding-alist (transfer-level)
-  (mapcar (function
-          (lambda (charset-type)
-            (let ((charset  (upcase (symbol-name (car charset-type))))
-                  (type     (nth 1 charset-type))
-                  (encoding (nth 2 charset-type))
-                  )
-              (if (<= type transfer-level)
-                  (cons charset (mime/encoding-name type))
-                (cons charset encoding)
-                ))))
-         mime-charset-type-list))
-
-
 ;;; @ button
 ;;;
 
-(defun tm:set-face-region (b e face)
-  (let ((overlay (tl:make-overlay b e)))
-    (tl:overlay-put overlay 'face face)
-    ))
-
 (defvar tm:button-face 'bold
   "Face used for content-button or URL-button of MIME-Preview buffer.
 \[mime-def.el]")
@@ -91,9 +63,6 @@
 (defvar tm:mouse-face 'highlight
   "Face used for MIME-preview buffer mouse highlighting. [mime-def.el]")
 
-(defvar tm:warning-face nil
-  "Face used for invalid encoded-word.")
-
 (defun tm:add-button (from to func &optional data)
   "Create a button between FROM and TO with callback FUNC and data DATA."
   (and tm:button-face