Don't cons with #'mapcar calls where the result is discarded,
decide on mapc-internal at compile time if the Common Lisp functionality is
not being used.
2009-10-12 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el (mapc):
New compiler macro, use mapc-internal at
compile time if we're not using the Common Lisp functionality.
* bytecomp.el (byte-compile-mapcar, byte-compile-maplist): New.
If the return value of mapcar is being discarded, compile it to a
mapc-internal call instead, and warn, because the programmer
probably can't rely on always being compiled by an XEmacs that
does this. Similarly for maplist and mapl; and use
byte-compile-funarg for map, mapl, mapcan, mapcon.
| author |
Aidan Kehoe <kehoea@parhasard.net> |
| date |
Mon, 12 Oct 2009 17:19:52 +0100 |
| parents |
d96db265d893 |
| children |
0ef278ff2894 |
| rev |
line source |
|
623
|
1 This directory tree holds version 21.5 of XEmacs.
|
|
|
2
|
|
2564
|
3 The information in this file has been superseded by the XEmacs FAQ.
|
|
623
|
4
|
|
2564
|
5 The easiest way to read the FAQ is to go to
|
|
623
|
6
|
|
2564
|
7 http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html
|
|
623
|
8
|
|
2564
|
9 You can also the local copy of the FAQ inside XEmacs by using
|
|
|
10 use Help->XEmacs FAQ from the menu, or `C-h F'.
|
|
0
|
11
|
|
2564
|
12 If you don't have XEmacs running and can't access the web,
|
|
|
13 look directly at `man/xemacs-faq.texi' or `info/xemacs-faq.info'.
|
|
623
|
14
|
|
|
15
|