Function: forge--format-marks
forge--format-marks is a byte-compiled function defined in
forge-topic.el.
Signature
(forge--format-marks &optional ARG CONCAT)
Source Code
;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-topic.el
(defun forge--format-marks (&optional arg concat)
(and-let ((marks (if (forge-topic--eieio-childp arg)
(oref arg marks)
;; Unlike labels, marks are not repo-specific.
(when (forge-repository-p arg) (setq arg nil))
(forge-sql-cdr `[:select * :from mark
,@(and arg '(:where (in name $v1)))
:order-by [(asc name)]]
(vconcat arg))))
(format (pcase-lambda (`(,_id ,name ,face ,_description))
(magit--propertize-face
name (list face 'forge-topic-label)))))
(if concat
(mapconcat format marks (if (stringp concat) concat " "))
(mapcar format marks))))