mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
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:
@@ -294,13 +294,7 @@ Also adds support for a `:sync' parameter to override `:async'."
|
|||||||
(if (string-match-p "\\<i?python[23]?$" python-shell-interpreter)
|
(if (string-match-p "\\<i?python[23]?$" python-shell-interpreter)
|
||||||
(replace-regexp-in-string
|
(replace-regexp-in-string
|
||||||
"\\(^\\| \\)-i\\( \\|$\\)" " " python-shell-interpreter-args)
|
"\\(^\\| \\)-i\\( \\|$\\)" " " python-shell-interpreter-args)
|
||||||
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")))))
|
|
||||||
|
|
||||||
|
|
||||||
(defun +org-init-babel-lazy-loader-h ()
|
(defun +org-init-babel-lazy-loader-h ()
|
||||||
|
Reference in New Issue
Block a user