 (advice-add #'profiler-report-find-entry :around #'doom*profiler-report-find-entry-in-other-window)
 
 
-;; `wgrep'
+;;;###package wgrep
 (progn
   ;; close the popup after you're done with a wgrep buffer
   (advice-add #'wgrep-abort-changes :after #'+popup*close)
   (advice-add #'wgrep-finish-edit :after #'+popup*close))
 
 
-;; `which-key'
+;;;###package which-key
 (after! which-key
   (when (eq which-key-popup-type 'side-window)
     (setq which-key-popup-type 'custom

(advice-add #'info-lookup-symbol :after #'+popup*switch-to-info-window)


;; `multi-term'
(setq multi-term-buffer-name "doom terminal")


;; `neotree'
(after! neotree
  (advice-add #'neo-util--set-window-width :override #'ignore)
  (advice-remove #'balance-windows #'ad-Advice-balance-windows))


;; `org'
(after! org
  (defvar +popup--disable-internal nil)
  ;; Org has a scorched-earth window management system I'm not fond of. i.e. it

;; modify, and should follow a ;; `package-name' header line.

;;
;;; Core functions

;; Don't try to resize popup windows
(advice-add #'balance-windows :around #'+popup*save)


;;
;;; External functions

;;;###package buff-menu
(define-key Buffer-menu-mode-map (kbd "RET") #'Buffer-menu-other-window)


;;;###package company
(progn
  (defun +popup*dont-select-me (orig-fn &rest args)
    (let ((+popup--inhibit-select t))
