Mercurial > hg > xemacs-beta
annotate lisp/mule/english.el @ 5553:62edcc6a11ec
Add an assertion about argument order to #'apply-partially compiler macro
lisp/ChangeLog addition:
2011-08-24 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el (apply-partially):
Add an assertion to this compiler macro, requiring that the order
of the placeholders corresponding to the arguments in the
constants vector of the constructed compiled function be the same
as the order of the arguments to #'apply-partially.
tests/ChangeLog addition:
2011-08-24 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Add a test of apply partially that depends on the relative order
of its arguments.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 24 Aug 2011 11:06:41 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
502 | 1 ;;; english.el --- English support -*- coding: iso-2022-7bit; -*- |
428 | 2 |
3 ;; Copyright (C) 1997,1999 Electrotechnical Laboratory, JAPAN. | |
771 | 4 ;; Copyright (C) 2001, 2002 Ben Wing. |
428 | 5 ;; Licensed to the Free Software Foundation. |
6 | |
7 ;; Keywords: multibyte character, character set, syntax, category | |
8 | |
9 ;; This file is part of XEmacs. | |
10 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
11 ;; XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
12 ;; under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
13 ;; Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
14 ;; option) any later version. |
428 | 15 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
16 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
17 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
18 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
19 ;; for more details. |
428 | 20 |
21 ;; You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4072
diff
changeset
|
22 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
428 | 23 |
24 ;;; Commentary: | |
25 | |
26 ;; We need nothing special to support English on Emacs. Selecting | |
27 ;; English as a language environment is one of the ways to reset | |
440 | 28 ;; various multilingual environment to the original setting. |
428 | 29 |
30 ;;; Code | |
31 | |
32 (set-language-info-alist | |
33 "English" '((tutorial . "TUTORIAL") | |
771 | 34 (locale "en" "C") |
428 | 35 (charset ascii) |
3769 | 36 (coding-system iso-8859-1) |
37 (coding-priority iso-8859-1) | |
38 (native-coding-system iso-8859-1) | |
428 | 39 (sample-text . "Hello!, Hi!, How are you?") |
40 (documentation . "\ | |
41 Nothing special is needed to handle English.") | |
42 )) | |
43 | |
44 ;; Make "ASCII" an alias of "English" language environment. | |
45 (set-language-info-alist | |
46 "ASCII" (cdr (assoc "English" language-info-alist))) | |
47 | |
48 ;;; english.el ends here |