Mercurial > hg > xemacs-beta
annotate tests/automated/iso-ir-196-test.el @ 5650:7fa8667cdaa7
Imitate GNU Emacs API for `batch-byte-recompile-directory'.
2012-04-23 Michael Sperber <mike@xemacs.org>
* bytecomp.el (batch-byte-recompile-directory): Accept an optional
argument that's passed on to `byte-recompile-directory' as the
prefix argument, thus imitating GNU Emacs's API.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Mon, 23 Apr 2012 10:06:39 +0200 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
3701 | 1 ;; Copyright (C) 2006 Free Software Foundation, Inc. |
2 | |
3 ;; Author: Aidan Kehoe <kehoea@parhasard.net> | |
4 ;; Maintainers: Aidan Kehoe <kehoea@parhasard.net> | |
5 ;; Created: 2006 | |
6 ;; Keywords: tests | |
7 | |
8 ;; This file is part of XEmacs. | |
9 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3701
diff
changeset
|
10 ;; 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:
3701
diff
changeset
|
11 ;; 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:
3701
diff
changeset
|
12 ;; 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:
3701
diff
changeset
|
13 ;; option) any later version. |
3701 | 14 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3701
diff
changeset
|
15 ;; 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:
3701
diff
changeset
|
16 ;; 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:
3701
diff
changeset
|
17 ;; 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:
3701
diff
changeset
|
18 ;; for more details. |
3701 | 19 |
20 ;; 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:
3701
diff
changeset
|
21 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
3701 | 22 |
23 ;;; Synched up with: Not in FSF. | |
24 | |
25 ;;; Commentary: | |
26 | |
27 ;; Previously, we reacted badly to invalid sequences of non-UTF-8 octets | |
28 ;; when handling UTF-8 encode in ISO 2022. | |
29 | |
30 (when (featurep 'mule) | |
31 ;; This used to crash, at least in debug builds: | |
32 (Assert (decode-coding-string | |
33 (string ?\33 ?\45 ?\107 ?\306 ?\222 ?\215 ?\306) | |
34 'iso-2022-jp))) |