mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-28 16:51:08 -05:00
General refactor & cleanup
This commit is contained in:
@@ -197,8 +197,7 @@ and setting `doom-popup-rules' within it. Returns the window."
|
||||
(when (get-buffer-window-list (car args) nil t)
|
||||
(setq plist (append (list :autokill t) plist))
|
||||
(setcar args (clone-indirect-buffer (buffer-name (car args)) nil t)))
|
||||
(setq window (apply orig-fn args))
|
||||
(unless window
|
||||
(unless (setq window (apply orig-fn args))
|
||||
(error "No popup window was found for %s: %s" (car args) plist))
|
||||
(with-selected-window window
|
||||
(unless (eq plist t)
|
||||
|
Reference in New Issue
Block a user