summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-org.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-org.el')
-rw-r--r--custom/jao-custom-org.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index 1792e2c..546c9af 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -1,7 +1,7 @@
;; -*- lexical-binding: t -*-
;;; General configuration
-(defvar jao-org-dir (expand-file-name "~/doc/org"))
+(defvar jao-org-dir (expand-file-name "org" jao-doc-dir))
(use-package org
:ensure t
@@ -140,10 +140,9 @@
(use-package org-fragtog
:after org
:ensure t
+ :demand t
:hook ((org-mode . org-fragtog-mode)))
-(require 'org-fragtog)
-
(setq org-format-latex-options
`(:foreground default
:background
@@ -170,10 +169,6 @@
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
-;; (use-package ox-pandoc
-;; :after org
-;; :ensure t)
-
;;; Babel and literate programming
(setq org-src-window-setup 'other-window) ;; current-window
(require 'org-tempo nil t) ;; <s TAB for 9.2 and later