]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/loadup.el: Set max-specpdl-size to 1800 when loading cl-generic.el.
authorMattias Engdegård <mattiase@acm.org>
Wed, 1 Jan 2020 16:35:01 +0000 (17:35 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 1 Jan 2020 16:38:42 +0000 (17:38 +0100)
lisp/loadup.el

index 04ec5ca475483c71f2fcb25a7a471b5481bbad17..97525b2708660ec2069445dd2f495187fc120701 100644 (file)
 (load "language/cham")
 
 (load "indent")
-(load "emacs-lisp/cl-generic")
+(let ((max-specpdl-size (max max-specpdl-size 1800)))
+  ;; A particularly demanding file to load; 1600 does not seem to be enough.
+  (load "emacs-lisp/cl-generic"))
 (load "minibuffer") ;Needs cl-generic (and define-minor-mode).
 (load "frame")
 (load "startup")