branch: externals/setup
commit 1b8b9684f9c2b4a708fdc5a93f098d6a498e1081
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Remove lexical-binding check
    
    Since the lexical code is all executed "in" setup.el, it is not
    required for the file that is currently being evaluated.
---
 setup.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/setup.el b/setup.el
index bbea313..370eb81 100644
--- a/setup.el
+++ b/setup.el
@@ -125,8 +125,6 @@ will otherwise just be evaluated as is.
 NAME may also be a macro, if it can provide a symbol."
   (declare (debug (&rest &or [symbolp sexp] form))
            (indent defun))
-  (unless lexical-binding
-    (error "The `setup' macro requires lexical binding"))
   (when (consp name)
     (push name body)
     (let ((shorthand (get (car name) 'setup-shorthand)))

Reply via email to