diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/eos/jao-buffers.el | 7 | ||||
| -rw-r--r-- | lib/themes/jao-themes.el | 1 |
2 files changed, 8 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)))) diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el index 1f5e09a..a1d22c1 100644 --- a/lib/themes/jao-themes.el +++ b/lib/themes/jao-themes.el @@ -19,6 +19,7 @@ ;;; Code: (require 'ansi-color) +(require 'cl) ;;; palette (defvar jao-themes-default-face nil) |
