diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 21:44:43 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 21:44:43 -0500 |
| commit | dc2ca47ea5ab053722bf59ae1fde92e3786f6f41 (patch) | |
| tree | 4950d3721cd2d1837b1d8923a47d681c2b807207 | |
| parent | df36db0d2d75207c5982d68f179e71785d8706ec (diff) | |
| download | pearl-dc2ca47ea5ab053722bf59ae1fde92e3786f6f41.tar.gz pearl-dc2ca47ea5ab053722bf59ae1fde92e3786f6f41.zip | |
docs: drop the stale sync-hook mention in set-heading-state
| -rw-r--r-- | pearl.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |
