(completion-ignored-extensions) [ms-dos, windows-nt]:
[bpt/emacs.git] / lisp / language / lao.el
CommitLineData
60370d40 1;;; lao.el --- support for Lao -*- coding: iso-2022-7bit; -*-
d92d0128 2
d92d0128 3;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
fa526c4a 4;; Licensed to the Free Software Foundation.
d92d0128
KH
5
6;; Keywords: multilingual, Lao
7
8;; This file is part of GNU Emacs.
9
10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version.
14
15;; GNU Emacs is distributed in the hope that it will be useful,
16;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;; GNU 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
60370d40
PJ
25;;; Commentary:
26
d92d0128
KH
27;;; Code:
28
29(make-coding-system
4b9121fc
KH
30 'lao 2 ?L
31 "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)"
a79a3c79
KH
32 '(ascii lao nil nil
33 nil nil)
34 '((safe-charsets ascii lao)))
d92d0128 35
d92d0128 36(set-language-info-alist
a564ccf9 37 "Lao" '((charset lao)
a79a3c79
KH
38 (coding-system lao)
39 (coding-priority lao)
a564ccf9
KH
40 (input-method . "lao")
41 (nonascii-translation . lao)
42 (unibyte-display . lao)
43 (features lao-util)
78eee0ed 44 (documentation . t)))
d92d0128
KH
45
46(aset use-default-ascent ?\e(1;\e(B t)
47(aset use-default-ascent ?\e(1=\e(B t)
48(aset use-default-ascent ?\e(1?\e(B t)
49(aset use-default-ascent ?\e(1B\e(B t)
b688d081 50(aset ignore-relative-composition ?\e(1\\e(B t)
d92d0128 51
86e2a803
KH
52;; Register a function to compose Lao characters.
53(aset composition-function-table (make-char 'lao)
54 '(("\\c0\\c9?\\(\\(\\c2\\|\\c3\\)\\c4?\\|\\c4\\)?"
55 . lao-composition-function)))
56
41da80b1
DL
57(provide 'lao)
58
d92d0128 59;;; lao.el ends here