emacs-diffs
[Top][All Lists]
Advanced

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

master fc268ed: Dump with `lexical-binding` bound to nil


From: Mattias Engdegård
Subject: master fc268ed: Dump with `lexical-binding` bound to nil
Date: Mon, 20 Sep 2021 04:20:10 -0400 (EDT)

branch: master
commit fc268ed4399724978b4c1c8385965e443da6ca2e
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Dump with `lexical-binding` bound to nil
    
    * lisp/loadup.el (dump-mode): Temporarily bind `lexical-binding` to
    nil while dumping.  Otherwise, it will be t in Emacs by default
    and that is not our intention (yet).
---
 lisp/loadup.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/loadup.el b/lisp/loadup.el
index 1889ff5..fce17bf 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -541,7 +541,8 @@ lost after dumping")))
       (let (success)
         (unwind-protect
              (let ((tmp-dump-mode dump-mode)
-                   (dump-mode nil))
+                   (dump-mode nil)
+                   (lexical-binding nil))
                (if (member tmp-dump-mode '("pdump" "pbootstrap"))
                    (dump-emacs-portable (expand-file-name output 
invocation-directory))
                  (dump-emacs output "temacs")



reply via email to

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