浏览代码

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

Christian Egli 15 年之前
父节点
当前提交
aae9115938
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)