comparison lisp/ChangeLog @ 5550:b908c7265a2b

Add the #'apply-partially API, as used by GNU. lisp/ChangeLog addition: 2011-08-12 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el: * cl-macs.el (apply-partially): New compiler macro. * subr.el: * subr.el (apply-partially): New. Sync this function's API and docstring from GNU. The implementation is mine and trivial; the compiler macro in cl-macs.el ensures that partially-applied functions in compiled code are also compiled. tests/ChangeLog addition: 2011-08-12 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: Trivial tests of #'apply-partially, just added to subr.el.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 12 Aug 2011 16:02:30 +0100
parents 493c487cbc3f
children 62edcc6a11ec
comparison
equal deleted inserted replaced
5549:493c487cbc3f 5550:b908c7265a2b
1 2011-08-12 Aidan Kehoe <kehoea@parhasard.net>
2
3 * cl-macs.el:
4 * cl-macs.el (apply-partially): New compiler macro.
5 * subr.el:
6 * subr.el (apply-partially): New.
7 Sync this function's API and docstring from GNU. The
8 implementation is mine and trivial; the compiler macro in
9 cl-macs.el ensures that partially-applied functions in compiled
10 code are also compiled.
11
1 2011-08-10 Aidan Kehoe <kehoea@parhasard.net> 12 2011-08-10 Aidan Kehoe <kehoea@parhasard.net>
2 13
3 * keymap.el: 14 * keymap.el:
4 * keymap.el (event-apply-alt-modifier): 15 * keymap.el (event-apply-alt-modifier):
5 * keymap.el (event-apply-super-modifier): 16 * keymap.el (event-apply-super-modifier):