]> git.earman.xyz Git - emacsinit.git/commitdiff
Make eldoc buffer display better
authorrearman <rearman@r717.net>
Thu, 16 Oct 2025 14:49:52 +0000 (10:49 -0400)
committerrearman <rearman@r717.net>
Thu, 16 Oct 2025 14:49:52 +0000 (10:49 -0400)
Split current window instead of taking up entire bottom of frame.

init.el

diff --git a/init.el b/init.el
index 911be2a43a723622669a9c02aa80f54e03dd36ca..e614a6719fd147bcd13e43503d0fb67148e8d24f 100644 (file)
--- a/init.el
+++ b/init.el
@@ -49,7 +49,9 @@
              fill-column 78)
 
 (add-to-list 'display-buffer-alist
-            '("^\\*eldoc" display-buffer-at-bottom (window-height . 4)))
+            '("^\\*eldoc" display-buffer-in-direction
+              (direction . 'down)
+              (window-height . 4)))
 
 (blink-cursor-mode -1)
 (column-number-mode t)