Add new variable: doom-popup-windows

Contains a list of open popup windows.

This preserves window order. Before this commit, doom-popup-windows (the
function), did not do this.
This commit is contained in:
Henrik Lissner 2017-07-06 17:43:17 +02:00
parent 4fc39a0f71
commit 8c3693ed47
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 1 deletions

View file

@ -47,7 +47,7 @@ possible rules."
;;;###autoload
(defun doom-popup-windows ()
"Get a list of open pop up windows."
(cl-remove-if-not #'doom-popup-p (window-list)))
(cl-remove-if-not #'doom-popup-p doom-popup-windows))
;;;###autoload
(defun doom/popup-restore ()