aboutsummaryrefslogtreecommitdiff
path: root/pearl.el
diff options
context:
space:
mode:
Diffstat (limited to 'pearl.el')
-rw-r--r--pearl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/pearl.el b/pearl.el
index 3b53556..cadc0de 100644
--- a/pearl.el
+++ b/pearl.el
@@ -2633,9 +2633,9 @@ locally so #D is accepted regardless of the user's `org-priority' settings."
(defun pearl--set-heading-state (state-name state-id)
"Update the heading at point to STATE-NAME / STATE-ID.
Rewrites the TODO keyword (mapped from STATE-NAME) and the LINEAR-STATE-NAME /
-LINEAR-STATE-ID drawer properties. The Linear org-todo sync hook is inhibited
-during the keyword change so updating the keyword here does not trigger a
-second push back to Linear."
+LINEAR-STATE-ID drawer properties. `org-after-todo-state-change-hook' is bound
+to nil during the keyword change so programmatically setting the keyword does
+not fire any todo-change hooks the user has installed."
(save-excursion
(org-back-to-heading t)
(org-entry-put nil "LINEAR-STATE-NAME" state-name)