Simplifies popwin configuration

This commit is contained in:
William Carroll 2017-07-29 21:52:04 -04:00
parent ee62bf5836
commit f65a0c7bbf

View file

@ -531,16 +531,11 @@
;; Popwin Settings ;; Popwin Settings
(use-package popwin (use-package popwin
:ensure t) :ensure t
:config
(setq display-buffer-function 'popwin:display-buffer)
(add-hook 'helm-minibuffer-set-up-hook #'*-popwin-help-mode-off) (setq helm-split-window-preferred-function 'ignore)
(add-hook 'helm-cleanup-hook #'*-popwin-help-mode-on) (push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config))
(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)
;; Alchemist Settings ;; Alchemist Settings