refactor(org): remove ob-ditaa fix

The scripts directory was removed from org-contrib back in Org 9.5. Now,
there is no way to resolve the "correct" location of these jar paths
without cloning the entirety of Worg, which is too heavy a dependency to
manage for an unmaintained package.
This commit is contained in:
Henrik Lissner
2025-09-17 10:40:55 -04:00
parent 6a630660ac
commit a4526fd10d

View File

@@ -294,13 +294,7 @@ Also adds support for a `:sync' parameter to override `:async'."
(if (string-match-p "\\<i?python[23]?$" python-shell-interpreter)
(replace-regexp-in-string
"\\(^\\| \\)-i\\( \\|$\\)" " " python-shell-interpreter-args)
python-shell-interpreter-args))))))
(after! ob-ditaa
;; TODO Should be fixed upstream
(let ((default-directory (org-find-library-dir "org-contribdir")))
(setq org-ditaa-jar-path (expand-file-name "scripts/ditaa.jar")
org-ditaa-eps-jar-path (expand-file-name "scripts/DitaaEps.jar")))))
python-shell-interpreter-args)))))))
(defun +org-init-babel-lazy-loader-h ()