2018-03-31 04:31:52 +00:00
|
|
|
(setq spacemacs-dump-mode 'dumping)
|
|
|
|
(load (concat (file-name-directory load-file-name) "init.el"))
|
2019-07-27 02:44:11 +00:00
|
|
|
;; we need to backup the load-path in order to restore them
|
|
|
|
;; when we use the dump file
|
|
|
|
(setq load-path-backup load-path)
|
|
|
|
;; disable undo-tree to prevent from segfaulting when loading the dump
|
|
|
|
(when (fboundp 'global-undo-tree-mode)
|
|
|
|
(global-undo-tree-mode -1))
|
|
|
|
;; (spacemacs/startup-hook)
|
|
|
|
(configuration-layer/message "Dumping Emacs...")
|
|
|
|
(setq spacemacs-dump-mode 'dumped)
|
|
|
|
(garbage-collect)
|