Commit | Line | Data |
---|---|---|
0a10297a | 1 | ;;; lao.el --- support for Lao -*- coding: iso-2022-7bit; no-byte-compile: t -*- |
d92d0128 | 2 | |
eaa61218 KH |
3 | ;; Copyright (C) 2001 Free Software Foundation, Inc. |
4 | ;; Copyright (C) 1997, 1998, 1999, 2002 | |
5 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
6 | ;; Registration Number H14PRO021 | |
8f924df7 KH |
7 | ;; Copyright (C) 2003 |
8 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
9 | ;; Registration Number H13PRO009 | |
d92d0128 KH |
10 | |
11 | ;; Keywords: multilingual, Lao | |
12 | ||
13 | ;; This file is part of GNU Emacs. | |
14 | ||
15 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
16 | ;; it under the terms of the GNU General Public License as published by | |
17 | ;; the Free Software Foundation; either version 2, or (at your option) | |
18 | ;; any later version. | |
19 | ||
20 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
21 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | ;; GNU General Public License for more details. | |
24 | ||
25 | ;; You should have received a copy of the GNU General Public License | |
26 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
3a35cf56 LK |
27 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
28 | ;; Boston, MA 02110-1301, USA. | |
d92d0128 | 29 | |
60370d40 PJ |
30 | ;;; Commentary: |
31 | ||
d92d0128 KH |
32 | ;;; Code: |
33 | ||
e1915ab3 KH |
34 | (define-coding-system 'lao |
35 | "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)." | |
36 | :coding-type 'charset | |
37 | :mnemonic ?L | |
38 | :charset-list '(lao)) | |
d92d0128 | 39 | |
d92d0128 | 40 | (set-language-info-alist |
a564ccf9 | 41 | "Lao" '((charset lao) |
a79a3c79 KH |
42 | (coding-system lao) |
43 | (coding-priority lao) | |
a564ccf9 | 44 | (input-method . "lao") |
a564ccf9 KH |
45 | (unibyte-display . lao) |
46 | (features lao-util) | |
78eee0ed | 47 | (documentation . t))) |
d92d0128 | 48 | |
9baf74e5 KH |
49 | ;; For automatic composition. |
50 | (let ((chars "\e(1QTUVWXY[\hijklm\e(B")) | |
51 | (dotimes (i (length chars)) | |
52 | (aset composition-function-table (aref chars i) | |
53 | 'lao-composition-function))) | |
86e2a803 | 54 | |
41da80b1 DL |
55 | (provide 'lao) |
56 | ||
6b61353c | 57 | ;;; arch-tag: ba540fd9-6352-4449-a9cd-669afd21fa57 |
d92d0128 | 58 | ;;; lao.el ends here |