root/trunk/lisp/language/greek.el

Revision 4220, 1.8 kB (checked in by miyoshi, 9 months ago)

Sync up with Emacs22.2.

  • Property svn:eol-style set to LF
Line 
1 ;;; greek.el --- support for Greek -*- no-byte-compile: t -*-
2
3 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 ;;   2005, 2006, 2007, 2008
5 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
6 ;;   Registration Number H14PRO021
7
8 ;; Keywords: multilingual, Greek
9
10 ;; This file is part of GNU Emacs.
11
12 ;; GNU Emacs is free software; you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 3, or (at your option)
15 ;; any later version.
16
17 ;; GNU Emacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 ;; GNU General Public License for more details.
21
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 ;; Boston, MA 02110-1301, USA.
26
27 ;;; Commentary:
28
29 ;; For Greek, the character set ISO8859-7 is supported.
30
31 ;;; Code:
32
33 (make-coding-system
34  'greek-iso-8bit 2 ?7
35  "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)."
36  '(ascii greek-iso8859-7 nil nil
37    nil nil nil nil nil nil nil nil nil nil nil t)
38  '((safe-charsets ascii greek-iso8859-7)
39    (mime-charset . iso-8859-7)))
40
41 (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit)
42
43 (set-language-info-alist
44  "Greek" '((charset . (greek-iso8859-7))
45            (coding-system . (greek-iso-8bit))
46            (coding-priority greek-iso-8bit)
47            (nonascii-translation . greek-iso8859-7)
48            (input-method . "greek")
49            (unibyte-display . greek-iso-8bit)
50            (documentation . t)))
51
52 (provide 'greek)
53
54 ;;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410
55 ;;; greek.el ends here
56
Note: See TracBrowser for help on using the browser.