1 ;;; -*-byte-compile-dynamic: t;-*-
2 ;;; poem-e20_3.el --- poem submodule for Emacs 20.3
4 ;; Copyright (C) 1998 Free Software Foundation, Inc.
6 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
7 ;; Keywords: emulation, compatibility, Mule
9 ;; This file is part of APEL (A Portable Emacs Library).
11 ;; This program is free software; you can redistribute it and/or
12 ;; modify it under the terms of the GNU General Public License as
13 ;; published by the Free Software Foundation; either version 2, or (at
14 ;; your option) any later version.
16 ;; This program is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 ;; General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
28 ;; This module requires Emacs 20.2.91 or later.
35 (defsubst char-length (char)
36 "Return indexing length of multi-byte form of CHAR."
39 (defmacro char-next-index (char index)
40 "Return index of character succeeding CHAR whose index is INDEX."
43 (defalias-maybe 'characterp 'char-valid-p)
49 (defalias 'sset 'store-substring)
51 (defun string-to-char-list (string)
52 "Return a list of which elements are characters in the STRING."
53 (mapcar #'identity string))
55 (defalias 'string-to-int-list 'string-to-char-list)
57 (defalias 'looking-at-as-unibyte 'looking-at)
65 ;;; poem-e20_3.el ends here