summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2025-02-28 18:37:27 +0100
committerStefan Kangas <stefankangas@gmail.com>2025-02-28 18:37:27 +0100
commit85ef06392a07e2405dd03c7a1efe76348e001d19 (patch)
tree0c65435d0769bc3556e33a5a738d0542b43a0e68 /lisp/subr.el
parent2435749efa5b082b520bb1e40db3d3c839023c04 (diff)
downloademacs-85ef06392a07e2405dd03c7a1efe76348e001d19.tar.gz
emacs-85ef06392a07e2405dd03c7a1efe76348e001d19.tar.bz2
emacs-85ef06392a07e2405dd03c7a1efe76348e001d19.zip
; * lisp/subr.el (apply-partially): Fix last commit.
(I accidentally pushed an old version of the patch.)
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index bc5f8943fb4..f52264d3158 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -541,8 +541,7 @@ was called."
(compiler-macro
(lambda (_)
`(lambda (&rest args2)
- ,(let ((l (length args)))
- `(apply ,fun ,@args args2))))))
+ ,`(apply ,fun ,@args args2)))))
(lambda (&rest args2)
(apply fun (append args args2))))