emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] ditaa.jar not found


From: Carsten Dominik
Subject: Re: [Orgmode] ditaa.jar not found
Date: Fri, 19 Jun 2009 15:35:53 +0200

Applied, thanks.

- Carsten

On Jun 19, 2009, at 10:51 AM, Sebastian Rose wrote:


The path to ditaa.jar seems to have changed.


Debugger entered--Lisp error: (error "Could not find ditaa.jar at
 /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar")
 signal(error ("Could not find ditaa.jar at
 /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar"))
....


This patch fixes it:


diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el
index 56adb9f..8d6ad60 100644
--- a/lisp/org-exp-blocks.el
+++ b/lisp/org-exp-blocks.el
@@ -223,8 +223,10 @@ specified in BLOCKS which default to the value of
                          "scripts"
                          (file-name-as-directory
                           (expand-file-name
+                           "contrib"
+                          (expand-file-name
                            ".."
- (file-name-directory (or load-file-name buffer-file- name))))))) + (file-name-directory (or load-file-name buffer-file- name))))))))
  "Path to the ditaa jar executable")

(defun org-export-blocks-format-ditaa (body &rest headers)


  Sebastian
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]