summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eos')
-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))))