;;;
-;;; $Id: tm-rich.el,v 6.7 1995/07/15 16:45:29 morioka Exp $
+;;; $Id: tm-rich.el,v 6.10 1995/08/05 00:55:37 morioka Exp $
;;;
;;; by MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;;
(require 'tm-view)
-(require 'richtext)
+
+(defvar tm-rich/richtext-module
+ (if (or (< emacs-major-version 19)
+ (and (= emacs-major-version 19)
+ (< emacs-minor-version 29))
+ )
+ 'tinyrich
+ 'richtext))
+(require tm-rich/richtext-module)
;;; @ content filters for tm-view
(mime-viewer/default-code-convert-region beg (point-max)
charset encoding)
)
- (richtext-to-enriched-region beg (point-max))
- (enriched-decode beg (point-max))
+ (richtext-decode beg (point-max))
))
(defun mime-viewer/filter-text/enriched (ctype params encoding)
(run-hooks 'tm-rich-load-hook)
-(provide 'richtext)
+(provide 'tm-rich)