Commit | Line | Data |
---|---|---|
80d75b56 KH |
1 | ;;; english.el --- English support |
2 | ||
80d75b56 | 3 | ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. |
fa526c4a | 4 | ;; Licensed to the Free Software Foundation. |
80d75b56 KH |
5 | |
6 | ;; Keywords: multibyte character, character set, syntax, category | |
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 | ||
25 | ;;; Commentary: | |
26 | ||
27 | ;; We need nothing special to support English on Emacs. Selecting | |
28 | ;; English as a language environment is one of the ways to reset | |
29 | ;; various multilingual environment to the original settting. | |
30 | ||
31 | ;;; Code | |
32 | ||
33 | (defun setup-english-environment () | |
164c39f7 | 34 | "Reset multilingual environment of Emacs to the default status. |
6e49aeec | 35 | See the function `reset-language-environment' for more detail." |
80d75b56 | 36 | (interactive) |
6e49aeec | 37 | (reset-language-environment)) |
80d75b56 KH |
38 | |
39 | (set-language-info-alist | |
6e49aeec | 40 | "English" '((tutorial . "TUTORIAL") |
539c55ed | 41 | (charset ascii) |
164c39f7 | 42 | (sample-text . "Hello!, Hi!, How are you?") |
044f5c26 | 43 | (documentation . "\ |
aad1beef | 44 | Nothing special is needed to handle English.") |
164c39f7 | 45 | )) |
80d75b56 | 46 | |
9af275a3 RS |
47 | ;; Make "ASCII" an alias of "English" language environment. |
48 | (set-language-info-alist | |
49 | "ASCII" (cdr (assoc "English" language-info-alist))) | |
50 | ||
80d75b56 | 51 | ;;; english.el ends here |