mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-28 16:51:08 -05:00
feature/popup: tweak popup rules, add +popup-shrink-to-fit
+popup-shrink-to-fit wraps shrink-window-if-larger-than-buffer, and won't do anything if the buffer is empty.
This commit is contained in:
@@ -137,7 +137,7 @@ ALIST supports one custom parameter: `size', which will resolve to
|
||||
;;
|
||||
|
||||
(eval-when-compile
|
||||
(set! :popup "^ \\*" '((slot . -1)))
|
||||
(set! :popup "^ \\*" '((slot . -1) (size . +popup-shrink-to-fit)))
|
||||
(set! :popup "^\\*" nil '((select . t)))
|
||||
(set! :popup "^\\*Completions" '((slot . -1)) '((transient . 0)))
|
||||
(set! :popup "^\\*Compilation" nil '((transient . 0) (quit . t)))
|
||||
|
Reference in New Issue
Block a user