THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler
And I obeyed.
This commit is contained in:
parent
d738a8d13a
commit
48b0a468d1
5 changed files with 6 additions and 7 deletions
|
@ -315,9 +315,6 @@ with the :popup setting."
|
|||
prevent the popup(s) from messing up the UI (or vice versa)."
|
||||
`(let* ((in-popup-p (+popup-p))
|
||||
(popups (+popup-windows))
|
||||
(popup-states
|
||||
(cl-loop for p in popups
|
||||
collect (cons (window-buffer p) (window-state-get p))))
|
||||
+popup--last)
|
||||
(dolist (p popups)
|
||||
(+popup/close p 'force))
|
||||
|
|
|
@ -143,7 +143,7 @@ ALIST supports one custom parameter: `size', which will resolve to
|
|||
(defun doom*ignore-window-parameters (orig-fn &rest args)
|
||||
"Allow *interactive* window moving commands to traverse popups."
|
||||
(cl-letf (((symbol-function #'windmove-find-other-window)
|
||||
(lambda (direction &optional window ignore sign wrap mini)
|
||||
(lambda (dir &optional arg window)
|
||||
(window-in-direction
|
||||
(pcase dir (`up 'above) (`down 'below) (_ dir))
|
||||
window (bound-and-true-p +popup-mode) arg windmove-wrap-around t))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue