X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mcs-nemacs.el;h=e203a1078ccc800179a13cebf6571a80bef37ae0;hb=43c09ed5f4916ac5179e2ea1329d03fac2bb1116;hp=388db8a3d93c39d9fa791ba8b1c6dd1a41a51f27;hpb=e47c19a9f98b560818385fb4fd7dca6b14f36767;p=elisp%2Fapel.git diff --git a/mcs-nemacs.el b/mcs-nemacs.el index 388db8a..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]" @@ -122,6 +124,7 @@ ;;; @ end ;;; -(provide 'mcs-nemacs) +(require 'product) +(product-provide (provide 'mcs-nemacs) (require 'apel-ver)) ;;; mcs-nemacs.el ends here