source: projects/emacsen-common/trunk/apel-sample/usr/share/emacs/site-lisp/apel/pces.el @ 7238

Revision 7238, 1.6 KB checked in by daisuke, 12 years ago (diff)

import emacsen-common

Line 
1;;; pces.el --- Portable Character Encoding Scheme (coding-system) features
2
3;; Copyright (C) 1998,1999 Free Software Foundation, Inc.
4
5;; Author: MORIOKA Tomohiko <tomo@m17n.org>
6;; Keywords: coding-system, emulation, compatibility, Mule
7
8;; This file is part of APEL (A Portable Emacs Library).
9
10;; This program is free software; you can redistribute it and/or
11;; modify it under the terms of the GNU General Public License as
12;; published by the Free Software Foundation; either version 2, or (at
13;; your option) any later version.
14
15;; This program is distributed in the hope that it will be useful, but
16;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18;; General Public License for more details.
19
20;; You should have received a copy of the GNU General Public License
21;; along with GNU Emacs; see the file COPYING.  If not, write to the
22;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23;; Boston, MA 02111-1307, USA.
24
25;;; Code:
26
27(require 'poe)
28
29(eval-and-compile
30  (unless (fboundp 'open-network-stream)
31    (require 'tcp)))
32
33(cond ((featurep 'xemacs)
34       (if (featurep 'file-coding)
35           (require 'pces-xfc)
36         (require 'pces-raw)
37         ))
38      ((featurep 'mule)
39       (if (>= emacs-major-version 20)
40           (require 'pces-e20)
41         ;; for MULE 1.* and 2.*
42         (require 'pces-om)
43         ))
44      ((boundp 'NEMACS)
45       ;; for Nemacs and Nepoch
46       (require 'pces-nemacs)
47       )
48      (t
49       (require 'pces-raw)
50       ))
51
52         
53;;; @ end
54;;;
55
56(require 'product)
57(product-provide (provide 'pces) (require 'apel-ver))
58
59;;; pces.el ends here
Note: See TracBrowser for help on using the repository browser.