Mercurial > hg > xemacs-beta
comparison lisp/mule/english.el @ 428:3ecd8885ac67 r21-2-22
Import from CVS: tag r21-2-22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:28:15 +0200 |
parents | |
children | 8de8e3f6228a |
comparison
equal
deleted
inserted
replaced
427:0a0253eac470 | 428:3ecd8885ac67 |
---|---|
1 ;;; english.el --- English support | |
2 | |
3 ;; Copyright (C) 1997,1999 Electrotechnical Laboratory, JAPAN. | |
4 ;; Licensed to the Free Software Foundation. | |
5 | |
6 ;; Keywords: multibyte character, character set, syntax, category | |
7 | |
8 ;; This file is part of XEmacs. | |
9 | |
10 ;; XEmacs is free software; you can redistribute it and/or modify it | |
11 ;; 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 ;; XEmacs is distributed in the hope that it will be useful, but | |
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 ;; General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with XEmacs; see the file COPYING. If not, write to the Free | |
22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
23 ;; 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 () | |
34 "Reset multilingual environment of Emacs to the default status. | |
35 See the function `reset-language-environment' for more detail." | |
36 (interactive) | |
37 (reset-language-environment)) | |
38 | |
39 (set-language-info-alist | |
40 "English" '((tutorial . "TUTORIAL") | |
41 (charset ascii) | |
42 (sample-text . "Hello!, Hi!, How are you?") | |
43 (documentation . "\ | |
44 Nothing special is needed to handle English.") | |
45 )) | |
46 | |
47 ;; Make "ASCII" an alias of "English" language environment. | |
48 (set-language-info-alist | |
49 "ASCII" (cdr (assoc "English" language-info-alist))) | |
50 | |
51 ;;; english.el ends here |