Karel Klic 74a143
diff -up emacs-24.1/lisp/org/org-exp-blocks.el.locate-library emacs-24.1/lisp/org/org-exp-blocks.el
Karel Klic 74a143
--- emacs-24.1/lisp/org/org-exp-blocks.el.locate-library	2012-07-11 17:11:42.053056590 +0200
Karel Klic 74a143
+++ emacs-24.1/lisp/org/org-exp-blocks.el	2012-07-11 17:11:47.716973793 +0200
Karel Klic 74a143
@@ -240,7 +240,7 @@ which defaults to the value of `org-expo
Karel Klic 74a143
 			      (file-name-as-directory
Karel Klic 74a143
 			       (expand-file-name
Karel Klic 74a143
 				"../contrib"
Karel Klic 74a143
-				(file-name-directory (find-library-name "org")))))))
Karel Klic 74a143
+				(file-name-directory (locate-library "org")))))))
Karel Klic 74a143
   "Path to the ditaa jar executable."
Karel Klic 74a143
   :group 'org-babel
Karel Klic 74a143
   :type 'string)