diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-24 14:36:04 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-24 14:36:04 -0500 |
| commit | 049661b4c2f9047b2bf40868a6f327a4eae7075c (patch) | |
| tree | 28c4e9b86d5fea5e6a0f84fe4b651e4a005cee2a /tests/test-pearl-delete.el | |
| parent | dcaf2061e08feb6ca3d957950d91c292cef99b68 (diff) | |
| download | pearl-049661b4c2f9047b2bf40868a6f327a4eae7075c.tar.gz pearl-049661b4c2f9047b2bf40868a6f327a4eae7075c.zip | |
refactor: share the push-and-report tail of the field setters
set-priority, set-state, set-assignee, and set-labels each repeated the same tail: push the issueUpdate field, and on success update the heading or drawer at the marker, message, and surface the buffer; on failure, message. I pulled that into pearl--push-issue-field, which takes the fields alist, a success thunk (the per-field buffer update), and the two messages. Each command keeps its own completion source, guards, and id resolution. No behavior change; 353 tests green.
Diffstat (limited to 'tests/test-pearl-delete.el')
0 files changed, 0 insertions, 0 deletions
