]> code.delx.au - gnu-emacs/blob - lisp/language/lao.el
*** empty log message ***
[gnu-emacs] / lisp / language / lao.el
1 ;;; lao.el --- support for Lao -*- coding: iso-2022-7bit; -*-
2
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2001 Free Software Foundation, Inc.
6
7 ;; Keywords: multilingual, Lao
8
9 ;; This file is part of GNU Emacs.
10
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
15
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
20
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.
25
26 ;;; Commentary:
27
28 ;;; Code:
29
30 (define-coding-system 'lao
31 "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)."
32 :coding-type 'charset
33 :mnemonic ?L
34 :charset-list '(lao))
35
36 (set-language-info-alist
37 "Lao" '((charset lao)
38 (coding-system lao)
39 (coding-priority lao)
40 (input-method . "lao")
41 (unibyte-display . lao)
42 (features lao-util)
43 (documentation . t)))
44
45 ;; For automatic composition.
46 (let ((chars "\e(1QTUVWXY[\hijklm\e(B"))
47 (dotimes (i (length chars))
48 (aset composition-function-table (aref chars i)
49 'lao-composition-function)))
50
51 (provide 'lao)
52
53 ;;; lao.el ends here