Browse Source

Make export work even if `org-odd-levels-only' is in use

Christian Egli 15 years ago
parent
commit
aae9115938
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-taskjuggler.el

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