Browse Source

Merge branch 'hotfix-7.8.06'

Conflicts:
	lisp/org-exp-blocks.el
Bastien Guerry 13 years ago
parent
commit
fffd14fc3a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org-exp-blocks.el

+ 2 - 1
lisp/org-exp-blocks.el

@@ -73,6 +73,7 @@
 (eval-when-compile
   (require 'cl))
 (require 'org)
+(require 'find-func)
 
 (defun org-export-blocks-set (var value)
   "Set the value of `org-export-blocks' and install fontification."
@@ -233,7 +234,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."
   :group 'org-babel
   :type 'string)