]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/loadup.el: Set max-lisp-eval-depth here
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 18 Nov 2015 16:42:29 +0000 (11:42 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 18 Nov 2015 16:42:29 +0000 (11:42 -0500)
* lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
(BYTE_COMPILE_FLAGS): Adjust accordingly.

lisp/Makefile.in
lisp/loadup.el

index ed1246b0cf47c8027ba83163af0c8cc2842f945b..2ad16ed4070ef432d3ef0ce116ccbcda43fdf6f5 100644 (file)
@@ -89,15 +89,8 @@ AUTOGENEL = loaddefs.el \
        cedet/srecode/loaddefs.el \
        org/org-loaddefs.el
 
-# Value of max-lisp-eval-depth when compiling initially.
-# During bootstrapping the byte-compiler is run interpreted when compiling
-# itself, and uses more stack than usual.
-#
-BIG_STACK_DEPTH = 2200
-BIG_STACK_OPTS = --eval "(setq max-lisp-eval-depth $(BIG_STACK_DEPTH))"
-
 # Set load-prefer-newer for the benefit of the non-bootstrappers.
-BYTE_COMPILE_FLAGS = $(BIG_STACK_OPTS) \
+BYTE_COMPILE_FLAGS = \
   --eval '(setq load-prefer-newer t)' $(BYTE_COMPILE_EXTRA_FLAGS)
 
 # Files to compile before others during a bootstrap.  This is done to
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)