[Emacs] Move benchmark initialization to init.el
This commit is contained in:
parent
08dc7ccf93
commit
0e2d79e4ff
@ -15,6 +15,17 @@
|
||||
(setq use-package-enable-imenu-support t
|
||||
use-package-always-ensure t)
|
||||
|
||||
(defvar imalison:do-benchmark)
|
||||
|
||||
(let ((bench-file (concat (file-name-directory user-init-file) "benchmark.el")))
|
||||
(when (file-exists-p bench-file) (load bench-file)))
|
||||
|
||||
(use-package benchmark-init
|
||||
:if imalison:do-benchmark
|
||||
:demand t
|
||||
:config
|
||||
(setq max-specpdl-size 99999999))
|
||||
|
||||
(setq custom-file "~/.emacs.d/custom-before.el")
|
||||
(setq load-prefer-newer t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user