summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-01-21 13:39:57 +0000
committerjao <jao@gnu.org>2026-01-21 13:39:57 +0000
commit4e71898553e91f629c91fc13a123f85eb1475bae (patch)
tree061a54223db2910d51be4b3c075c5247760d879d /init.el
parentbfdb1665ca86d1b7ff52a0f839ea6ee6a5f3d59f (diff)
downloadelibs-4e71898553e91f629c91fc13a123f85eb1475bae.tar.gz
elibs-4e71898553e91f629c91fc13a123f85eb1475bae.tar.bz2
afio: side buffers
Diffstat (limited to 'init.el')
-rw-r--r--init.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/init.el b/init.el
index ad0c535..432f494 100644
--- a/init.el
+++ b/init.el
@@ -51,7 +51,7 @@
warning-suppress-types '((comp)))
;;; Paths
-(defvar jao-local-lisp-dir (jao-d-l "~/.local/lib/elisp" "~/lib/elisp")
+(defvar jao-local-lisp-dir (jao-d-l "~/.emacs.d/lib" "~/lib/elisp")
"Directory for external elisp libraries and repos")
(defvar jao-data-dir (expand-file-name "data" jao-emacs-dir)
@@ -635,7 +635,7 @@
;;; Calendar, diary
;;;; diary
-(setq diary-file (expand-file-name "diary" jao-org-dir)
+(setq ;; diary-file (expand-file-name "diary" jao-org-dir)
diary-display-function 'diary-fancy-display
diary-mail-addr "jao@localhost"
diary-comment-start ";;"
@@ -923,6 +923,12 @@
(delete-other-windows-vertically)
(display-buffer-below-selected buffer alist))
+(defun jao-display-below-eldoc (buffer alist)
+ (let ((w (selected-window)))
+ (pop-to-buffer "*eldoc*" nil t)
+ (jao-display-buffer-below-selected buffer alist)
+ (select-window w t)))
+
(defun jao-attached-buffer-entry (name-rx height)
`(,name-rx (display-buffer-reuse-window
jao-display-buffer-below-selected)