From 86286574a338567e837d3d6865bba46917dec717 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Sat, 5 Mar 2016 20:54:17 +0100 Subject: [PATCH] Move rake popwin config to post-init-popwin --- layers/+lang/ruby/packages.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/layers/+lang/ruby/packages.el b/layers/+lang/ruby/packages.el index e7bdd1eec..3a8ca7298 100644 --- a/layers/+lang/ruby/packages.el +++ b/layers/+lang/ruby/packages.el @@ -95,6 +95,8 @@ (defun ruby/post-init-popwin () (push '("*rspec-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4) + popwin:special-display-config) + (push '("*rake-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4) popwin:special-display-config)) (defun ruby/init-rbenv () @@ -262,11 +264,7 @@ (defun ruby/init-rake () (use-package rake :defer t - :init - (progn - (setq rake-cache-file (concat spacemacs-cache-directory "rake.cache")) - (push '("*rake-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4) - popwin:special-display-config)) + :init (setq rake-cache-file (concat spacemacs-cache-directory "rake.cache")) :config (dolist (mode '(ruby-mode enh-ruby-mode)) (spacemacs/set-leader-keys-for-major-mode mode