summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-org.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-09-15 03:01:58 +0100
committerjao <jao@gnu.org>2025-09-15 03:01:58 +0100
commit79fee39ab74d0ebb89a559d7d1b8fdb6222e4a41 (patch)
tree9923f747cdbc0093965ecbb824365c412aa534d7 /custom/jao-custom-org.el
parent89aef17265d251a7e279bb890d903f34b288b792 (diff)
downloadelibs-79fee39ab74d0ebb89a559d7d1b8fdb6222e4a41.tar.gz
elibs-79fee39ab74d0ebb89a559d7d1b8fdb6222e4a41.tar.bz2
macos compatibility
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