Mercurial > emacs
annotate lisp/language/english.el @ 23937:144220e7f841
(ps-mule-begin-job): Programming uniformization.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 22 Dec 1998 13:23:30 +0000 |
parents | dfc5c82b7526 |
children | 60eb71a9f901 |
rev | line source |
---|---|
17301 | 1 ;;; english.el --- English support |
2 | |
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | |
18377
8b4a66c66dd6
Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents:
18309
diff
changeset
|
4 ;; Licensed to the Free Software Foundation. |
17301 | 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 () | |
17767
d93b9414ff2b
Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents:
17301
diff
changeset
|
34 "Reset multilingual environment of Emacs to the default status. |
22981
dfc5c82b7526
(setup-english-environment): Just call
Kenichi Handa <handa@m17n.org>
parents:
21767
diff
changeset
|
35 See the function `reset-language-environment' for more detail." |
17301 | 36 (interactive) |
22981
dfc5c82b7526
(setup-english-environment): Just call
Kenichi Handa <handa@m17n.org>
parents:
21767
diff
changeset
|
37 (reset-language-environment)) |
17301 | 38 |
39 (set-language-info-alist | |
22981
dfc5c82b7526
(setup-english-environment): Just call
Kenichi Handa <handa@m17n.org>
parents:
21767
diff
changeset
|
40 "English" '((tutorial . "TUTORIAL") |
20744
48d79ef65489
Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents:
19954
diff
changeset
|
41 (charset ascii) |
17767
d93b9414ff2b
Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents:
17301
diff
changeset
|
42 (sample-text . "Hello!, Hi!, How are you?") |
17994
28d45a11ac18
(setup-english-environment): Set several
Kenichi Handa <handa@m17n.org>
parents:
17841
diff
changeset
|
43 (documentation . "\ |
18158
723b3b1516b6
("English"): Improve doc string.
Richard M. Stallman <rms@gnu.org>
parents:
17994
diff
changeset
|
44 Nothing special is needed to handle English.") |
17767
d93b9414ff2b
Make functions setup-LANGUAGE-environment
Kenichi Handa <handa@m17n.org>
parents:
17301
diff
changeset
|
45 )) |
17301 | 46 |
19954
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
47 ;; Make "ASCII" an alias of "English" language environment. |
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
48 (set-language-info-alist |
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
49 "ASCII" (cdr (assoc "English" language-info-alist))) |
9c37afba82bc
(ASCII): Define as alias for English.
Richard M. Stallman <rms@gnu.org>
parents:
19922
diff
changeset
|
50 |
17301 | 51 ;;; english.el ends here |