1 Star 0 Fork 0

arhelion / spacemacs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dump-init.el 749 Bytes
一键复制 编辑 原始数据 按行查看 历史
;; -*- no-byte-compile: t -*-
(setq spacemacs-dump-mode 'dumping)
;; load init.el
(setq spacemacs-start-directory (file-name-directory load-file-name))
(load (concat spacemacs-start-directory "init"))
;; prepare the dump
(spacemacs/dump-save-load-path)
;; disable undo-tree to prevent from segfaulting when loading the dump
(when (fboundp 'global-undo-tree-mode)
(global-undo-tree-mode -1))
;; Enable some modes that seem to not survive to the dumping process
(spacemacs|unless-dumping-and-eval-after-loaded-dump activate-modes
(global-font-lock-mode)
(when (fboundp 'global-undo-tree-mode)
(global-undo-tree-mode t))
(winner-mode 1))
(configuration-layer/message "Dumping Emacs...")
(setq spacemacs-dump-mode 'dumped)
(garbage-collect)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arhelion/spacemacs.git
git@gitee.com:arhelion/spacemacs.git
arhelion
spacemacs
spacemacs
develop

搜索帮助

344bd9b3 5694891 D2dac590 5694891