diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-09-19 20:07:11 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-09-20 10:14:35 +0200 |
commit | fc268ed4399724978b4c1c8385965e443da6ca2e (patch) | |
tree | fd5514ed289fb878017520e5e365f3360c256c64 /lisp/loadup.el | |
parent | b34dcd96e909cc73ae0ff50215ac2c3f18b5ab30 (diff) | |
download | emacs-fc268ed4399724978b4c1c8385965e443da6ca2e.tar.gz |
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).
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r-- | lisp/loadup.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index 1889ff562c6..fce17bf1137 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") |