From 73c7777217c907234fb5288a06afe0b31f0b868c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 13 Sep 2023 17:03:14 -0600 Subject: [PATCH] [Emacs] Only add completer on completed todos --- dotfiles/emacs.d/org-config.org | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/emacs.d/org-config.org b/dotfiles/emacs.d/org-config.org index ab9cabb3..cdf44fdc 100644 --- a/dotfiles/emacs.d/org-config.org +++ b/dotfiles/emacs.d/org-config.org @@ -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)))