comparison lisp/ChangeLog @ 5056:6aba0daedb7c

Add #'constantly, as specified by ANSI Common Lisp. 2010-02-22 Aidan Kehoe <kehoea@parhasard.net> * cl-extra.el (constantly): Add this function, from ANSI Common Lisp, using the SBCL extension that extra arguments to it are passed back as multiple values in the constructed function. * cl-macs.el (constantly): In the compiler macro for #'constantly, construct a compiled-function object almost every time, at compile time when all arguments are constant, and at runtime when they vary.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 22 Feb 2010 20:08:51 +0000
parents eadd99984bfb
children cc74f60c150e
comparison
equal deleted inserted replaced
5036:9624523604c5 5056:6aba0daedb7c
1 2010-02-22 Aidan Kehoe <kehoea@parhasard.net>
2
3 * cl-extra.el (constantly):
4 Add this function, from ANSI Common Lisp, using the SBCL extension
5 that extra arguments to it are passed back as multiple values in
6 the constructed function.
7 * cl-macs.el (constantly):
8 In the compiler macro for #'constantly, construct a
9 compiled-function object almost every time, at compile time when
10 all arguments are constant, and at runtime when they vary.
11
1 2010-02-08 Ben Wing <ben@xemacs.org> 12 2010-02-08 Ben Wing <ben@xemacs.org>
2 13
3 * help.el (describe-function-1): 14 * help.el (describe-function-1):
4 Don't use compiled-function-annotation to retrieve the file name 15 Don't use compiled-function-annotation to retrieve the file name
5 for a function since it doesn't provide this info and load-history 16 for a function since it doesn't provide this info and load-history