summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Egli <christian.egli@alumni.ethz.ch>2010-04-20 10:01:24 +0200
committerChristian Egli <christian.egli@alumni.ethz.ch>2010-06-08 09:20:33 +0200
commitaae911593845e13c9ffbe8bce3ef29a0ef8324ed (patch)
tree887394a17b76338fdff500457fe911939d618fde
parent1a2229d7855876ab2fb78cfbdb868dc3f75692cd (diff)
downloadorg-mode-aae911593845e13c9ffbe8bce3ef29a0ef8324ed.tar.gz
Make export work even if `org-odd-levels-only' is in use
-rw-r--r--lisp/org-taskjuggler.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el
index f69399d..6b6157e 100644
--- a/lisp/org-taskjuggler.el
+++ b/lisp/org-taskjuggler.el
@@ -337,7 +337,7 @@ the current node such as the headline, the level, todo state
information, all the properties, etc."
(let* ((props (org-entry-properties))
(components (org-heading-components))
- (level (car components))
+ (level (nth 1 components))
(headline (nth 4 components))
(parent-ordered (org-taskjuggler-parent-is-ordered-p)))
(push (cons "level" level) props)