diff options
| author | Stefan Monnier | 2023-11-02 23:12:00 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2023-11-02 23:12:27 -0400 |
| commit | fc8d225328d41c180b6997f6c25f904ca66211ac (patch) | |
| tree | d896784ec9a8564de5e7b0f91e6ef80cb9cd922f | |
| parent | 9cbf0bb3ee8871942f781c539acdeae1b7071224 (diff) | |
| download | emacs-fc8d225328d41c180b6997f6c25f904ca66211ac.tar.gz emacs-fc8d225328d41c180b6997f6c25f904ca66211ac.zip | |
* lisp/emacs-lisp/oclosure.el (oclosure--lambda): Burp in dynbind mode
The "fixes" bug#66867.
| -rw-r--r-- | lisp/emacs-lisp/oclosure.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/oclosure.el b/lisp/emacs-lisp/oclosure.el index ae0038b45e6..c23dd5a36da 100644 --- 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 | |||
| 350 | should be mutable. | 350 | should be mutable. |
| 351 | No checking is performed." | 351 | No checking is performed." |
| 352 | (declare (indent 3) (debug (sexp (&rest (sexp form)) sexp def-body))) | 352 | (declare (indent 3) (debug (sexp (&rest (sexp form)) sexp def-body))) |
| 353 | (cl-assert lexical-binding) ;Can't work in dynbind dialect. | ||
| 353 | ;; FIXME: Fundamentally `oclosure-lambda' should be a special form. | 354 | ;; FIXME: Fundamentally `oclosure-lambda' should be a special form. |
| 354 | ;; We define it here as a macro which expands to something that | 355 | ;; We define it here as a macro which expands to something that |
| 355 | ;; looks like "normal code" in order to avoid backward compatibility | 356 | ;; looks like "normal code" in order to avoid backward compatibility |