[Emacs] Only add completer on completed todos

This commit is contained in:
Ivan Malison 2023-09-13 17:03:14 -06:00
parent f4086f8739
commit 73c7777217

View File

@ -297,6 +297,7 @@ We're going to use this to write separate parts of our config to different secti
(defun imalison:maybe-add-completer (state-change)
(when
(and (eq (plist-get state-change :type) 'todo-state-change)
(member (plist-get state-change :to) org-done-keywords)
(imalison:shared-non-habit-p)
(null (org-entry-get nil "COMPLETER")))
(org-set-property "COMPLETER" imalison:org-whoami)))