Skip to content

Commit c864136

Browse files
committed
forge--post-submit-callback: Fix fetching individual topic
Closes #830.
1 parent 3cde5fc commit c864136

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lisp/forge-post.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Insert the value of `branch.BRANCH.description' of the source BRANCH."
285285
(if (buffer-live-p prevbuf) prevbuf (current-buffer))
286286
(if (or (not full-pull)
287287
(oref repo selective-p))
288-
(forge--pull-topic repo topic)
288+
(forge--pull-topic repo (or topic (alist-get 'number value)))
289289
(forge--pull repo))))))
290290

291291
(defun forge--post-submit-errorback ()

0 commit comments

Comments
 (0)