subr.el (apply-partially): Use lexical binding.
Fixes: debbugs:19785 See <URL:http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00784.html> for discussion.
This commit is contained in:
parent
64bdc0efbe
commit
19ee7875db
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2015-02-08 David Kastrup <dak@gnu.org>
|
||||
|
||||
* subr.el (apply-partially): Use lexical binding here.
|
||||
|
||||
2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
|
||||
|
||||
* newcomment.el (comment-line): New command.
|
||||
|
|
|
@ -136,8 +136,8 @@ ARGS is a list of the first N arguments to pass to FUN.
|
|||
The result is a new function which does the same as FUN, except that
|
||||
the first N arguments are fixed at the values with which this function
|
||||
was called."
|
||||
`(closure (t) (&rest args)
|
||||
(apply ',fun ,@(mapcar (lambda (arg) `',arg) args) args)))
|
||||
(lambda (&rest args2)
|
||||
(apply fun (append args args2))))
|
||||
|
||||
(defmacro push (newelt place)
|
||||
"Add NEWELT to the list stored in the generalized variable PLACE.
|
||||
|
|
Loading…
Add table
Reference in a new issue