Browse Source

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
Shaun Johnson 13 years ago
parent
commit
ba249353d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-exp-blocks.el

+ 1 - 1
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