[Emacs] Move benchmark initialization to init.el

This commit is contained in:
Ivan Malison 2017-08-26 19:13:40 -07:00
parent 08dc7ccf93
commit 0e2d79e4ff
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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)