diff options
| author | Kenichi Handa | 2008-02-22 01:51:04 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-02-22 01:51:04 +0000 |
| commit | dfb504aa960c2ffddaf87008e39d51ea5e3c344f (patch) | |
| tree | 6a394f5e2c165168afe9f3f191e483a75fafe25e | |
| parent | cdbe6a039d5bb5a1655f3ab4cbe1a5c042b96b4c (diff) | |
| download | emacs-dfb504aa960c2ffddaf87008e39d51ea5e3c344f.tar.gz emacs-dfb504aa960c2ffddaf87008e39d51ea5e3c344f.zip | |
New file.
| -rw-r--r-- | lisp/language/sinhala.el | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lisp/language/sinhala.el b/lisp/language/sinhala.el new file mode 100644 index 00000000000..9c4b9356e9e --- /dev/null +++ b/lisp/language/sinhala.el | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | ;;; sinhala.el --- support for Sinhala -*- coding: utf-8; no-byte-compile: t -*- | ||
| 2 | |||
| 3 | ;; Copyright (C) 2008 | ||
| 4 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | ||
| 5 | ;; Registration Number H13PRO009 | ||
| 6 | |||
| 7 | ;; Keywords: multilingual, Sinhala, i18n | ||
| 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 3, 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., 51 Franklin Street, Fifth Floor, | ||
| 24 | ;; Boston, MA 02110-1301, USA. | ||
| 25 | |||
| 26 | ;;; Code: | ||
| 27 | |||
| 28 | (set-language-info-alist | ||
| 29 | "Sinhala" '((charset unicode) | ||
| 30 | (coding-system utf-8) | ||
| 31 | (coding-priority utf-8) | ||
| 32 | (sample-text . "Sinhala (සිංහල) ආයුබෝවන්") | ||
| 33 | (documentation . t))) | ||
| 34 | |||
| 35 | (set-char-table-range | ||
| 36 | composition-function-table | ||
| 37 | '(#xD80 . #xDFF) | ||
| 38 | (list (cons "[\xD80-\xDFF\x200C\x200D]+" 'font-shape-text))) | ||
| 39 | |||
| 40 | ;; sinhala.el ends here | ||