]> code.delx.au - gnu-emacs/blobdiff - lisp/loadup.el
* lisp/loadup.el: Set max-lisp-eval-depth here
[gnu-emacs] / lisp / loadup.el
index f0caa8be34954bbd5f0c515309b43830e64199e4..ef7f19fbddb06ea66c984e247016ddf64cbd3e8a 100644 (file)
     (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)