projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cbf0bb
)
* lisp/emacs-lisp/oclosure.el (oclosure--lambda): Burp in dynbind mode
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 3 Nov 2023 03:12:00 +0000
(23:12 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 3 Nov 2023 03:12:27 +0000
(23:12 -0400)
The "fixes" bug#66867.
lisp/emacs-lisp/oclosure.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/oclosure.el
b/lisp/emacs-lisp/oclosure.el
index ae0038b45e690c4a8ebdcd1da4619972d64c7671..c23dd5a36da5f277b3d194f2d97eb2b6660053a0 100644
(file)
--- a/
lisp/emacs-lisp/oclosure.el
+++ b/
lisp/emacs-lisp/oclosure.el
@@
-350,6
+350,7
@@
MUTABLE is a list of symbols indicating which of the BINDINGS
should be mutable.
No checking is performed."
(declare (indent 3) (debug (sexp (&rest (sexp form)) sexp def-body)))
+ (cl-assert lexical-binding) ;Can't work in dynbind dialect.
;; FIXME: Fundamentally `oclosure-lambda' should be a special form.
;; We define it here as a macro which expands to something that
;; looks like "normal code" in order to avoid backward compatibility