瀏覽代碼

Merge branch 'maint'

Nicolas Goaziou 6 年之前
父節點
當前提交
02eea8b944
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-icalendar.el

+ 1 - 1
lisp/ox-icalendar.el

@@ -317,7 +317,7 @@ A headline is blocked when either
     done first or is a child of a blocked grandparent entry."
   (or
    ;; Check if any child is not done.
-   (org-element-map headline 'headline
+   (org-element-map (org-element-contents headline) 'headline
      (lambda (hl) (eq (org-element-property :todo-type hl) 'todo))
      info 'first-match)
    ;; Check :ORDERED: node property.