Skip to content

Commit

Permalink
forge-read-topic-{labels,marks}: Fix type predicate
Browse files Browse the repository at this point in the history
Closes #731.
  • Loading branch information
tarsius committed Dec 21, 2024
1 parent 3b80ace commit a69b87d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/forge-topic.el
Original file line number Diff line number Diff line change
Expand Up @@ -715,14 +715,14 @@ can be selected from the start."
"Labels: "
(forge--format-labels (and obj (forge-get-repository obj)))
nil t
(and (forge-topic-p obj)
(and (cl-typep obj 'forge-topic)
(forge--format-labels obj crm-separator)))))

(defun forge-read-topic-marks (&optional obj)
(let ((crm-separator ","))
(magit-completing-read-multiple
"Marks: " (forge--format-marks) nil t
(and (forge-topic-p obj)
(and (cl-typep obj 'forge-topic)
(forge--format-marks obj crm-separator)))))

(defun forge-read-topic-assignees (&optional topic)
Expand Down

0 comments on commit a69b87d

Please sign in to comment.