aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 21:44:43 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 21:44:43 -0500
commitdc2ca47ea5ab053722bf59ae1fde92e3786f6f41 (patch)
tree4950d3721cd2d1837b1d8923a47d681c2b807207
parentdf36db0d2d75207c5982d68f179e71785d8706ec (diff)
downloadpearl-dc2ca47ea5ab053722bf59ae1fde92e3786f6f41.tar.gz
pearl-dc2ca47ea5ab053722bf59ae1fde92e3786f6f41.zip
docs: drop the stale sync-hook mention in set-heading-state
-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)