about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-07-30T01·52-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-07-30T01·52-0400
commitf65a0c7bbf68915631567c81fbb22432d8fac68a (patch)
treee47543842e806512ec3fbd81b3752adbfc83e314 /configs
parentee62bf583698b15617f1cff2e33528c5b94b4b55 (diff)
Simplifies popwin configuration
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.emacs15
1 files changed, 5 insertions, 10 deletions
diff --git a/configs/shared/.emacs b/configs/shared/.emacs
index 11a4aeaf18d7..49f5adc1a2e2 100644
--- a/configs/shared/.emacs
+++ b/configs/shared/.emacs
@@ -531,16 +531,11 @@
 
 ;; Popwin Settings
 (use-package popwin
-  :ensure t)
-
-
-(add-hook 'helm-minibuffer-set-up-hook #'*-popwin-help-mode-off)
-(add-hook 'helm-cleanup-hook #'*-popwin-help-mode-on)
-
-(setq display-buffer-function 'popwin:display-buffer)
-(setq helm-split-window-preferred-function 'ignore)
-(push '("^\*helm .+\*$" :regexp t) popwin:special-display-config)
-(push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config)
+  :ensure t
+  :config
+  (setq display-buffer-function 'popwin:display-buffer)
+  (setq helm-split-window-preferred-function 'ignore)
+  (push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config))
 
 
 ;; Alchemist Settings