From ba249353d385725d444aeecdffffa46125dd9747 Mon Sep 17 00:00:00 2001 From: Shaun Johnson Date: Tue, 20 Mar 2012 03:12:40 +0100 Subject: [PATCH] org-exp-blocks.el: Better heuristic to find the libary name. * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find the libary name. TINYCHANGE --- lisp/org-exp-blocks.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 020eefb1d..b2fd4a792 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -232,7 +232,7 @@ which defaults to the value of `org-export-blocks-witheld'." (file-name-as-directory (expand-file-name "../contrib" - (file-name-directory (or load-file-name buffer-file-name))))))) + (file-name-directory (find-library-name "org"))))))) "Path to the ditaa jar executable.") (defvar org-export-current-backend) ; dynamically bound in org-exp.el -- 2.11.4.GIT