From f65a0c7bbf68915631567c81fbb22432d8fac68a Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 29 Jul 2017 21:52:04 -0400 Subject: [PATCH] Simplifies popwin configuration --- configs/shared/.emacs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/configs/shared/.emacs b/configs/shared/.emacs index 11a4aeaf1..49f5adc1a 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