[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
`apply-partially' in subr.el is broken
From: |
Miles Bader |
Subject: |
`apply-partially' in subr.el is broken |
Date: |
Mon, 20 Oct 2008 13:32:31 +0900 |
A recent change to subr.el uses a cl macro (lexical-let):
2008-10-19 Eli Zaretskii <address@hidden>
* subr.el (apply-partially): Moved here from minibuffer.el.
apply-partially looks like:
(defun apply-partially (fun &rest args)
...
(lexical-let ((fun fun) (args1 args))
...
but subr.el does not have (eval-when-compile (require 'cl)).
Naturally, this does not compile correctly.
So either the require needs to be added or apply-partially needs to not
use lexical-let (is it ok for subr.el to use cl.el?).
Thanks,
-Miles
--
Congratulation, n. The civility of envy.
- `apply-partially' in subr.el is broken,
Miles Bader <=