about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
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