FIX remove ID property when refiling logbook

This commit is contained in:
Nathan Dwarshuis 2021-12-05 21:19:19 -05:00
parent c5b05047d2
commit fe3ce2248e
1 changed files with 13 additions and 11 deletions

View File

@ -1587,6 +1587,8 @@ and slow."
(-)))
(headline*
(->> (funcall add-context headline)
;; remove the ID property if it exists
(org-ml-headline-set-node-property "ID" nil)
;; close the headline (assume it isn't already)
(org-ml-set-property :todo-keyword org-x-kw-done)
(org-ml-headline-map-planning*