summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2022-10-03 18:22:25 +0200
committerAlan Pearce2022-10-03 18:22:25 +0200
commitb40e77b6501150cbab8805447a02d4bc8eb0814f (patch)
tree2186e91a5e0682e92b62a6403a5d03e0aa01c391 /user/emacs
parentb5254e23c4c4188212f3cd9980a8ae77fd9d9b43 (diff)
downloadnixfiles-b40e77b6501150cbab8805447a02d4bc8eb0814f.tar.lz
nixfiles-b40e77b6501150cbab8805447a02d4bc8eb0814f.tar.zst
nixfiles-b40e77b6501150cbab8805447a02d4bc8eb0814f.zip
Emacs: limit eldoc display in echo area to one line
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 790dfdda..e43d1c2d 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -573,7 +573,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package eldoc
   :defer 5
   :config (progn
-            (setq eldoc-idle-delay 0.5)
+            (setq eldoc-idle-delay 0.5
+                  eldoc-echo-area-use-multiline-p nil)
             (global-eldoc-mode +1)))
 
 (use-package eldoc-box