dump: add support for winner

pdump cannot dump window configurations so we make sure to activate winner
outside of the dump phase
This commit is contained in:
syl20bnr 2018-03-31 01:16:43 -04:00
parent ed9123984a
commit 87dc5f100c
2 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,8 @@
(spacemacs/setup-startup-hook)
(spacemacs|unless-dumping
(global-font-lock-mode)
(global-undo-tree-mode 1))
(global-undo-tree-mode t)
(winner-mode t))
;; (when dotspacemacs-enable-server
;; (require 'server)
;; (unless (server-running-p) (server-start)))

View file

@ -364,9 +364,9 @@
(defun spacemacs-defaults/init-winner ()
(use-package winner
:defer t
:init
(progn
(winner-mode t)
(with-eval-after-load 'winner
(setq spacemacs/winner-boring-buffers '("*Completions*"
"*Compile-Log*"
"*inferior-lisp*"
@ -379,8 +379,7 @@
"*esh command on file*"
))
(setq winner-boring-buffers
(append winner-boring-buffers spacemacs/winner-boring-buffers))
(winner-mode t))))
(append winner-boring-buffers spacemacs/winner-boring-buffers)))))
(defun spacemacs-defaults/init-zone ()
(require 'zone)