summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-11-05 18:22:08 +0000
committerjao <jao@gnu.org>2025-11-05 18:22:31 +0000
commit83bd6a98d80180dc0e2a7b93d8362d82924ba5ab (patch)
tree1e17e2ce8073e9d1ad7bacc12eeb4852918b929d
parentb973591d73eb76a2e95c6175a0af15b5f11e82c4 (diff)
downloadelibs-83bd6a98d80180dc0e2a7b93d8362d82924ba5ab.tar.gz
elibs-83bd6a98d80180dc0e2a7b93d8362d82924ba5ab.tar.bz2
looks and nits
-rw-r--r--custom/jao-custom-org.el5
-rw-r--r--lib/doc/jao-org-links.el3
-rw-r--r--lib/eos/jao-afio.el2
3 files changed, 8 insertions, 2 deletions
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index bf15f87..4021955 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -108,6 +108,11 @@
(window-parameters (mode-line-format . none))
(body-function . jao-org-agenda-hook)))
+(add-to-list 'display-buffer-alist
+ '("inbox\\.org"
+ (display-buffer-reuse-window)
+ (window-parameters (mode-line-format . none))))
+
;;; Capture templates
(setq org-capture-templates
'(("t" "TODO" entry
diff --git a/lib/doc/jao-org-links.el b/lib/doc/jao-org-links.el
index 5547c9b..95f2d67 100644
--- a/lib/doc/jao-org-links.el
+++ b/lib/doc/jao-org-links.el
@@ -18,7 +18,8 @@
(defun jao-org-links--open-pdf (link)
"Open LINK using `jaor-org-open-pdf-fn'."
- (cond ((string-match "\\(.*\\)::\\([0-9]*\\)\\+\\+\\([[0-9]\\.*[0-9]*\\)" link)
+ (cond ((string-match "\\(.*\\)::\\([0-9]*\\)\\+\\+\\([[0-9]\\.*[0-9]*\\)"
+ link)
(let* ((path (match-string 1 link))
(page (string-to-number (match-string 2 link)))
(height (string-to-number (match-string 3 link))))
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index 235aa54..99152b0 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -72,7 +72,7 @@
(defun jao-afio-open-pdf-session (&optional docs)
(interactive)
(dolist (doc (or docs (jao-doc-session)))
- (when (and doc (file-exists-p doc))
+ (when (and (stringp doc) (file-exists-p doc))
(if (jao-pdf-is-pdf-file doc) (jao-open-doc doc) (find-file doc))
(other-window 1)))
(other-window 1))