summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-11 14:52:19 +0100
committerjao <jao@gnu.org>2026-09-11 14:52:19 +0100
commit249f42208bff568bd0ad4592e08f36911a772b6a (patch)
tree851057df842129ce695bb3eb7762f74c49930f91 /custom
parent66781257204b21e27b9f652014e236941a1f6eb6 (diff)
downloadelibs-249f42208bff568bd0ad4592e08f36911a772b6a.tar.gz
elibs-249f42208bff568bd0ad4592e08f36911a772b6a.tar.bz2
nit: more dynamic jao-org-dir
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-org.el2
-rw-r--r--custom/jao-custom-pdf.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index ef1fbbe..a0b1b8b 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -3,6 +3,8 @@
;;; General configuration
(defvar jao-org-dir (expand-file-name "org" jao-doc-dir))
+(defun jao-org-dir () jao-org-dir)
+
(use-package org
:ensure t
:demand t
diff --git a/custom/jao-custom-pdf.el b/custom/jao-custom-pdf.el
index e82873f..cbe74ef 100644
--- a/custom/jao-custom-pdf.el
+++ b/custom/jao-custom-pdf.el
@@ -48,7 +48,7 @@
:config
(setq jao-open-doc-fun 'jao-find-or-open)
(setq jao-org-open-pdf-fun jao-open-doc-fun)
- (setq jao-pdf-org-dir jao-org-dir))
+ (setq jao-pdf-org-dir (jao-org-dir)))
;;;; doc-view
(use-package doc-view