From 79fee39ab74d0ebb89a559d7d1b8fdb6222e4a41 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 15 Sep 2025 03:01:58 +0100 Subject: macos compatibility --- custom/jao-custom-org.el | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'custom/jao-custom-org.el') 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) ;;