From 43203d5068eee68138007cac9d12a04d40d4ffb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 1 Jan 2020 17:35:01 +0100 Subject: [PATCH] * lisp/loadup.el: Set max-specpdl-size to 1800 when loading cl-generic.el. --- lisp/loadup.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/loadup.el b/lisp/loadup.el index 04ec5ca4754..97525b27086 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -245,7 +245,9 @@ (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") -- 2.39.2