Function: forge--format-topic-slug
forge--format-topic-slug is a byte-compiled function defined in
forge-topic.el.
Signature
(forge--format-topic-slug TOPIC)
Source Code
;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-topic.el
(defun forge--format-topic-slug (topic)
(with-slots (slug state status saved-p) topic
(magit--propertize-face
slug
`(,@(and saved-p '(forge-topic-slug-saved))
,@(and (eq status 'unread) '(forge-topic-slug-unread))
,(pcase state
('open 'forge-topic-slug-open)
((or 'completed 'merged) 'forge-topic-slug-completed)
((or 'unplanned 'outdated 'duplicate 'rejected)
'forge-topic-slug-expunged))))))