From e21ee102ed5f2f60bd0bc47382c70aa8fd5b9c5b Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Sat, 13 Apr 2024 16:03:47 -0400 Subject: [PATCH] Add more debugging information --- which-key.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/which-key.el b/which-key.el index beb1112..1ece569 100644 --- a/which-key.el +++ b/which-key.el @@ -1284,6 +1284,10 @@ call signature in different emacs versions" (window-height . (lambda (w) (fit-window-to-buffer w nil 1))) (side . ,which-key-side-window-location) (slot . ,which-key-side-window-slot))))) + (which-key--debug-message "Allow imprecise fit: %s +Display window alist: %s" + which-key-allow-imprecise-window-fit + alist) ;; Previously used `display-buffer-in-major-side-window' here, but ;; apparently that is meant to be an internal function. See emacs bug #24828 ;; and advice given there.