Use default popper func when wanting to split below

This commit is contained in:
Joseph Ferano 2023-04-22 13:20:15 +07:00
parent 4454616d67
commit 3ddf540c59

View File

@ -1036,6 +1036,8 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
;; bottom or above.
(defun joe/popper-display-func (buffer &optional _alist)
(cond
((eq joe/popper-side-toggle 'below)
(popper-select-popup-at-bottom buffer _alist))
((when-let ((popup-buffer
(cl-find-if
#'popper-popup-p