emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fc8d225328d: * lisp/emacs-lisp/oclosure.el (oclosure--lambda): Bu


From: Stefan Monnier
Subject: master fc8d225328d: * lisp/emacs-lisp/oclosure.el (oclosure--lambda): Burp in dynbind mode
Date: Thu, 2 Nov 2023 23:12:30 -0400 (EDT)

branch: master
commit fc8d225328d41c180b6997f6c25f904ca66211ac
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/emacs-lisp/oclosure.el (oclosure--lambda): Burp in dynbind mode
    
    The "fixes" bug#66867.
---
 lisp/emacs-lisp/oclosure.el | 1 +
 1 file changed, 1 insertion(+)

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
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]