Skip to content

Commit

Permalink
forge-read-open-issue: Fix recent regression
Browse files Browse the repository at this point in the history
Since [1: c08cc5b] this returns a propertized string, instead of
a cons cell.

1: 2024-02-17 c08cc5b
   forge--read-topic: Allow lifting limit to active during completion
  • Loading branch information
tarsius committed Feb 25, 2024
1 parent 4ec5421 commit ede0aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/forge-issue.el
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ can be selected from the start."
(defun forge-read-open-issue (prompt)
"Read an open issue with completion using PROMPT."
(let* ((current (forge-current-issue))
(default (and current (car (forge--format-topic-choice current))))
(default (and current (forge--format-topic-choice current)))
(repo (forge-get-repository (or current t)))
(choices (mapcar #'forge--format-topic-choice
(forge--ls-open-issues repo))))
Expand Down

0 comments on commit ede0aed

Please sign in to comment.