       '("^CAPTURE.*\\.org$"  :regexp t :size 20))
 
     ;; Org has its own window management system with a scorched earth philosophy
-    ;; I'm not fond of. i.e. it kills all windows and greedily monopolizes the
-    ;; frame. No thanks. We can do better with shackle's help.
-
-    ;; Save the emacsverse from armageddon by suppressing `delete-other-windows'
-    ;; in org functions.
+    ;; I'm not fond of. i.e. it kills all windows and monopolizes the frame. No
+    ;; thanks. We can do better with shackle's help.
     (defun doom*suppress-delete-other-windows (orig-fn &rest args)
       (cl-letf (((symbol-function 'delete-other-windows)
                  (symbol-function 'ignore)))



;; Ensure these settings are attached to org-load-hook as late as possible,
;; giving other modules to add their own hooks.
(add-hook! 'after-init-hook
  (add-hook! 'org-load-hook
    (set! :popup

        ;;  :autoclose  If non-nil, close popup if ESC is pressed from outside
        ;;              the popup window.
        shackle-rules
        '(("^\\*ftp " :size 8 :noselect t :autokill t :noesc t)
          ;; doom
          ("*doom:scratch*" :size 0.35 :noesc t :select t :modeline t)
          ("^\\*doom:" :regexp t :size 0.35 :noesc t :select t)
          ("^\\*doom " :regexp t :noselect t :autokill t :autoclose t)
          ;; built-in (emacs)
