X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mcs-nemacs.el;h=e203a1078ccc800179a13cebf6571a80bef37ae0;hb=9524ddb9407fbb9f9097865b13a32b1968dae40b;hp=0251369f0c478b95bff130549deea9b9bd7086cc;hpb=8ea0cf57c248b6a4ba2f73288cc1b7cad582e171;p=elisp%2Fapel.git diff --git a/mcs-nemacs.el b/mcs-nemacs.el index 0251369..e203a10 100644 --- a/mcs-nemacs.el +++ b/mcs-nemacs.el @@ -1,8 +1,8 @@ ;;; mcs-nemacs.el --- MIME charset implementation for Nemacs -;; Copyright (C) 1995,1996,1997,1998 MORIOKA Tomohiko +;; Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc. -;; Author: MORIOKA Tomohiko +;; Author: MORIOKA Tomohiko ;; Keywords: emulation, compatibility, Mule ;; This file is part of APEL (A Portable Emacs Library). @@ -19,8 +19,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Code: @@ -42,12 +42,14 @@ (mac . "\r")))) ) -(defun mime-charset-to-coding-system (charset) +(defun mime-charset-to-coding-system (charset &optional lbt) (if (stringp charset) (setq charset (intern (downcase charset))) ) (cdr (assq charset mime-charset-coding-system-alist))) +(fset 'mime-charset-p 'mime-charset-to-coding-system) + (defun detect-mime-charset-region (start end) "Return MIME charset for region between START and END. \[emu-nemacs.el]"