Some fixes to follow coding conventions.
[emacs.git] / lisp / language / lao.el
blobec2a62943d3b586d957455e26479835f1282eb14
1 ;;; lao.el --- support for Lao -*- coding: iso-2022-7bit; -*-
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
6 ;; Keywords: multilingual, Lao
8 ;; This file is part of GNU Emacs.
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.
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.
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.
25 ;;; Commentary:
27 ;;; Code:
29 (make-coding-system
30 'lao 2 ?L
31 "8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)"
32 '(ascii lao nil nil
33 nil nil)
34 '((safe-charsets ascii lao)))
36 (set-language-info-alist
37 "Lao" '((charset lao)
38 (coding-system lao)
39 (coding-priority lao)
40 (input-method . "lao")
41 (nonascii-translation . lao)
42 (unibyte-display . lao)
43 (features lao-util)
44 (documentation . t)))
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)
50 (aset ignore-relative-composition ?\e(1\\e(B t)
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)))
57 (provide 'lao)
59 ;;; lao.el ends here