diff --git a/core/autoload/debug.el b/core/autoload/debug.el index 7937a1ede..bb886f902 100644 --- a/core/autoload/debug.el +++ b/core/autoload/debug.el @@ -37,7 +37,7 @@ whose car is the list of faces and cadr is the list of overlay faces." (defun doom-active-minor-modes () "Get a list of active minor-mode symbols." (cl-loop for mode in minor-mode-list - unless (and (boundp mode) (symbol-value mode)) + if (and (boundp mode) (symbol-value mode)) collect mode)) ;;;###autoload diff --git a/modules/ui/posframe/config.el b/modules/ui/posframe/config.el index 097249c6d..4334e170c 100644 --- a/modules/ui/posframe/config.el +++ b/modules/ui/posframe/config.el @@ -42,7 +42,11 @@ (push (list fn :cleanup 'ivy-posframe-cleanup) ivy-display-functions-props)) (push '(t . +posframe-ivy-display-at-frame-center-near-bottom) ivy-display-functions-alist) - (push '(swiper . nil) ivy-display-functions-alist) + + ;; posframe doesn't work well with async sources + (dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep)) + (push (cons fn nil) ivy-display-functions-alist)) + (ivy-posframe-enable) (setq ivy-height 16