2 ;;; tm-orig.el --- tm definitions depended on FSF Original Emacs
4 ;;; Copyright (C) 1995 Free Software Foundation, Inc.
5 ;;; Copyright (C) 1994,1995,1996 MORIOKA Tomohiko
7 ;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
9 ;;; $Id: tm-orig.el,v 7.6 1996/01/11 05:15:05 morioka Exp $
10 ;;; Keywords: mail, news, MIME, multimedia, multilingual, encoded-word
12 ;;; This file is part of tm (Tools for MIME).
14 ;;; This program is free software; you can redistribute it and/or
15 ;;; modify it under the terms of the GNU General Public License as
16 ;;; published by the Free Software Foundation; either version 2, or
17 ;;; (at your option) any later version.
19 ;;; This program is distributed in the hope that it will be useful,
20 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 ;;; General Public License for more details.
24 ;;; You should have received a copy of the GNU General Public License
25 ;;; along with This program. If not, write to the Free Software
26 ;;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
36 (defvar mime/default-coding-system nil)
38 (defvar mime/lc-charset-alist
40 (cons (list lc-ascii) "US-ASCII")
41 (cons (list lc-ascii lc-ltn1) "ISO-8859-1")
44 (defvar mime/unknown-charset "ISO-8859-1")
50 (defun mime/convert-string-to-emacs (charset str)
51 (if (or (string= "US-ASCII" charset)
52 (string= "ISO-8859-1" charset))
55 (defun mime/convert-string-from-emacs (str charset)
56 (if (or (string= charset "US-ASCII")
57 (string= charset "ISO-8859-1"))
60 (defun mime/code-convert-region-to-emacs (beg end charset &optional encoding)
69 (run-hooks 'tm-orig-load-hook)
71 ;;; tm-orig.el ends here