Commit 19ee7875 authored by David Kastrup's avatar David Kastrup Committed by Artur Malabarba
Browse files

subr.el (apply-partially): Use lexical binding.

Fixes: debbugs:19785

for discussion.
parent 64bdc0ef
2015-02-08 David Kastrup <>
* subr.el (apply-partially): Use lexical binding here.
2015-02-08 Artur Malabarba <>
* 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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment