summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
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