summaryrefslogtreecommitdiffhomepage
path: root/lib/eos/jao-afio.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-07 21:34:28 +0100
committerjao <jao@gnu.org>2026-09-07 21:37:46 +0100
commit5a0912802c8c6d76762c42558c511fcbff17e422 (patch)
tree0014575ac5d41f2273123bee7e648c35d4c17a68 /lib/eos/jao-afio.el
parent45c15fdd38c0b9dde8099813137b2ebdea3ca3bc (diff)
downloadelibs-5a0912802c8c6d76762c42558c511fcbff17e422.tar.gz
elibs-5a0912802c8c6d76762c42558c511fcbff17e422.tar.bz2
jao-pdf: circular require fix
Diffstat (limited to 'lib/eos/jao-afio.el')
-rw-r--r--lib/eos/jao-afio.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index caacc8c..1400949 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -22,6 +22,7 @@
(require 'multisession)
(require 'cl-lib)
(require 'jao-doc-session)
+(require 'jao-pdf)
(defvar jao-afio-use-frames (not window-system))
(defvar jao-afio-frame-parameters nil)
@@ -144,6 +145,16 @@
(jao-eww-session-load)))
;;;###autoload
+(defun jao-afio-org-agenda ()
+ (interactive)
+ (org-agenda nil "j")
+ (when-let* ((w (get-buffer-window "*Org Agenda*")))
+ (set-window-margins w 2 1)
+ (with-current-buffer (window-buffer w)
+ (setq-local cursor-in-non-selected-windows nil
+ line-spacing 0.2))))
+
+;;;###autoload
(defun jao-afio-open-www ()
(interactive)
(require 'jao-eww-session)
@@ -165,7 +176,7 @@
;;;###autoload
(defun jao-afio-open-gnus ()
(interactive)
- ;; (jao-org-agenda)
+ (jao-afio-org-agenda)
(calendar)
(find-file (expand-file-name "inbox.org" org-directory))
(delete-other-windows)
@@ -180,7 +191,7 @@
(set-window-dedicated-p nil t)
(split-window-below (/ (window-height) 3))
(other-window 1)
- (jao-org-agenda)
+ (jao-afio-org-agenda)
(set-window-dedicated-p nil t)
(split-window-below -8)
(other-window 1)