Mercurial > hg > xemacs-beta
comparison lisp/ChangeLog @ 5264:0d43872986b6
Change (apply 'nconc (mapcar ...)) to (mapcan ...); warn about first form.
lisp/ChangeLog addition:
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* byte-optimize.el (byte-optimize-apply): Transform (apply 'nconc
(mapcar ...)) to (mapcan ...); warn about use of the first idiom.
* update-elc.el (do-autoload-commands):
* packages.el (packages-find-package-library-path):
* frame.el (frame-list):
* extents.el (extent-descendants):
* etags.el (buffer-tag-table-files):
* dumped-lisp.el (preloaded-file-list):
* device.el (device-list):
* bytecomp-runtime.el (proclaim-inline, proclaim-notinline)
Use #'mapcan, not (apply #'nconc (mapcar ...) in all these files.
* bytecomp-runtime.el (eval-when-compile, eval-and-compile):
In passing, mention that these macros also evaluate the body when
interpreted.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 16 Sep 2010 13:51:49 +0100 |
parents | 0d436a78c514 |
children | 5663ae9a8989 |
comparison
equal
deleted
inserted
replaced
5263:0d436a78c514 | 5264:0d43872986b6 |
---|---|
1 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * byte-optimize.el (byte-optimize-apply): Transform (apply 'nconc | |
4 (mapcar ...)) to (mapcan ...); warn about use of the first idiom. | |
5 | |
6 * update-elc.el (do-autoload-commands): | |
7 * packages.el (packages-find-package-library-path): | |
8 * frame.el (frame-list): | |
9 * extents.el (extent-descendants): | |
10 * etags.el (buffer-tag-table-files): | |
11 * dumped-lisp.el (preloaded-file-list): | |
12 * device.el (device-list): | |
13 * bytecomp-runtime.el (proclaim-inline, proclaim-notinline) | |
14 Use #'mapcan, not (apply #'nconc (mapcar ...) in all these files. | |
15 | |
16 * bytecomp-runtime.el (eval-when-compile, eval-and-compile): | |
17 In passing, mention that these macros also evaluate the body when | |
18 interpreted. | |
19 | |
1 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> | 20 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> |
2 | 21 |
3 * cl-macs.el (the): Add a docstring and an implementation for this | 22 * cl-macs.el (the): Add a docstring and an implementation for this |
4 macro. | 23 macro. |
5 * bytecomp.el (byte-compile-initial-macro-environment): Add #'the | 24 * bytecomp.el (byte-compile-initial-macro-environment): Add #'the |