From 02d532a09acd4ad53416b196405f5755ff5351be Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 Jun 2018 10:22:59 +0200 Subject: [PATCH] Set ibuffer-use-other-window in ui/popup/+hacks.el It was originally set to accommodate the popup system. --- core/core-ui.el | 1 - modules/ui/popup/+hacks.el | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index 05231927b..fb297391b 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -76,7 +76,6 @@ Also see `doom-before-switch-buffer-hook'.") max-mini-window-height 0.3 mode-line-default-help-echo nil ; disable mode-line mouseovers mouse-yank-at-point t ; middle-click paste at point, not at click - ibuffer-use-other-window t resize-mini-windows 'grow-only ; Minibuffer resizing show-help-function nil ; hide :help-echo text split-width-threshold 160 ; favor horizontal splits diff --git a/modules/ui/popup/+hacks.el b/modules/ui/popup/+hacks.el index 881b4d2b4..ead941ec4 100644 --- a/modules/ui/popup/+hacks.el +++ b/modules/ui/popup/+hacks.el @@ -176,6 +176,10 @@ the command buffer." (advice-add #'helm-ag--edit :around #'+helm*pop-to-buffer)) +;; `ibuffer' +(setq ibuffer-use-other-window t) + + ;; `Info' (defun +popup*switch-to-info-window (&rest _) (when-let* ((win (get-buffer-window "*info*")))