Skip to content

Commit 98ecb6f

Browse files
committed
forge--topic-parse-template: Set value of draft element
Closes #781.
1 parent 3f2eb6f commit 98ecb6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lisp/forge-topic.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,8 @@ When point is on the answer, then unmark it and mark no other."
19421942
(title . ,(and .title (string-trim .title)))
19431943
(text . ,(magit--buffer-string (point) nil ?\n))
19441944
(labels . ,(ensure-list .labels))
1945-
(assignees . ,(ensure-list .assignees))))
1945+
(assignees . ,(ensure-list .assignees))
1946+
(draft . , .draft)))
19461947
`((text . ,(magit--buffer-string)))))
19471948

19481949
(defun forge--topic-parse-buffer (&optional file)

0 commit comments

Comments
 (0)