diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 58f5f5a..b17b645 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2022.0110.220554 +;; Version: 2022.0111.100221 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti mixed-pitch) ;; This program is free software; you can redistribute it and/or modify @@ -235,7 +235,8 @@ located at the start of the line." (defun oni-org-maybe-change-todo-state (current-state) "Change the state of the current task to in-progress CURRENT-STATE is todo." - (if (member current-state org-todo-heads) + (if (and (not org-capture-mode) + (member current-state org-todo-heads)) (cadr (member current-state org-todo-keywords-1)) current-state))