diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-11-18 11:42:29 -0500 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-11-18 11:42:29 -0500 |
| commit | 36b3f1b61fcf6bd022fcc0c23ed6efbadb393a25 (patch) | |
| tree | 5fc4a2398593c643d0234b29eb8ae89a025e5ed5 /lisp/loadup.el | |
| parent | c6457cef92342d586d894504fdefc1bec1367725 (diff) | |
| download | emacs-36b3f1b61fcf6bd022fcc0c23ed6efbadb393a25.tar.gz | |
* lisp/loadup.el: Set max-lisp-eval-depth here
* lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
(BYTE_COMPILE_FLAGS): Adjust accordingly.
Diffstat (limited to 'lisp/loadup.el')
| -rw-r--r-- | lisp/loadup.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index f0caa8be349..ef7f19fbddb 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -60,6 +60,10 @@ (let ((dir (car load-path))) ;; We'll probably overflow the pure space. (setq purify-flag nil) + ;; Value of max-lisp-eval-depth when compiling initially. + ;; During bootstrapping the byte-compiler is run interpreted when + ;; compiling itself, which uses a lot more stack than usual. + (setq max-lisp-eval-depth 2200) (setq load-path (list (expand-file-name "." dir) (expand-file-name "emacs-lisp" dir) (expand-file-name "language" dir) |
