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
(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 display-buffer-function 'popwin:display-buffer)
(setq helm-split-window-preferred-function 'ignore) (setq helm-split-window-preferred-function 'ignore)
(push '("^\*helm .+\*$" :regexp t) popwin:special-display-config) (push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config))
(push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config)
;; Alchemist Settings ;; Alchemist Settings