From 8f3b1415806753e6963d649c87451168a7646e32 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 4 Jun 1999 08:24:14 +0000 Subject: [PATCH] (find-coding-system): Moved from pces-e20.el. (set-process-input-coding-system): Likewise. - Require `pces-20'. --- pces-e20.el | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pces-e20.el diff --git a/pces-e20.el b/pces-e20.el new file mode 100644 index 0000000..6516157 --- /dev/null +++ b/pces-e20.el @@ -0,0 +1,48 @@ +;;; pces-e20.el --- pces submodule for Emacs 20 + +;; Copyright (C) 1998,1999 Free Software Foundation, Inc. + +;; Author: MORIOKA Tomohiko +;; Keywords: emulation, compatibility, Mule + +;; This file is part of APEL (A Portable Emacs Library). + +;; This program is free software; you can redistribute it and/or +;; modify it under the terms of the GNU General Public License as +;; published by the Free Software Foundation; either version 2, or (at +;; your option) any later version. + +;; This program is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. + +;; 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. + +;;; Code: + +(require 'pces-20) + +(unless (and (fboundp 'set-buffer-multibyte) + (subrp (symbol-function 'set-buffer-multibyte))) + (require 'pces-e20_2) ; for Emacs 20.1 and 20.2 + ) + +(defsubst-maybe find-coding-system (obj) + "Return OBJ if it is a coding-system." + (if (coding-system-p obj) + obj)) + +(defalias 'set-process-input-coding-system 'set-process-coding-system) + + +;;; @ end +;;; + + +(provide 'pces-e20) + +;;; pces-e20.el ends here -- 1.7.10.4