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:
parent
ed9123984a
commit
87dc5f100c
2 changed files with 5 additions and 5 deletions
3
init.el
3
init.el
|
@ -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)))
|
||||
|
|
|
@ -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)
|
||||
|
|
Reference in a new issue