summaryrefslogtreecommitdiffhomepage
path: root/lib/eos/jao-buffers.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-11 09:55:42 +0100
committerjao <jao@gnu.org>2026-09-11 09:56:10 +0100
commit66781257204b21e27b9f652014e236941a1f6eb6 (patch)
tree02c0319c87f705c36606f2fb098e1be22f9d8e4b /lib/eos/jao-buffers.el
parent801b7c389a5faf0d1b07d9bd91f30a4b9e95a649 (diff)
downloadelibs-66781257204b21e27b9f652014e236941a1f6eb6.tar.gz
elibs-66781257204b21e27b9f652014e236941a1f6eb6.tar.bz2
buffers and rustic mode transient
Diffstat (limited to 'lib/eos/jao-buffers.el')
-rw-r--r--lib/eos/jao-buffers.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/eos/jao-buffers.el b/lib/eos/jao-buffers.el
index cae6c0f..ca87484 100644
--- a/lib/eos/jao-buffers.el
+++ b/lib/eos/jao-buffers.el
@@ -41,6 +41,13 @@
(window-height . ,(or height 25))))
;;;###autoload
+(defun jao-attach-below-eldoc (rx &optional h)
+ (add-to-list 'display-buffer-alist
+ `(,rx
+ (display-buffer-reuse-window jao-display-below-eldoc)
+ (height . (or h 0.5)))))
+
+;;;###autoload
(defmacro jao-with-attached-buffer (name-rx height &rest body)
(declare (indent defun))
`(let ((display-buffer-alist '(,(jao-attached-buffer-entry name-rx height))))