Function: forge-read-topic

forge-read-topic is a byte-compiled function defined in forge-topic.el.

Signature

(forge-read-topic PROMPT)

Documentation

Read an active topic with completion using PROMPT.

Open, unread and pending topics are considered active. Default to the current topic, even if it isn't active.

While completion is in progress, + (forge-read-topic-lift-limit) lifts the limit, extending the completion candidates to include all topics.

If forge-limit-topic-choices is nil, then all candidates can be selected from the start.

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-topic.el
;;; Read

(defun forge-read-topic (prompt)
  "Read an active topic with completion using PROMPT.

Open, unread and pending topics are considered active.
Default to the current topic, even if it isn't active.

\\<forge-read-topic-minibuffer-map>While completion is in \
progress, \\[forge-read-topic-lift-limit] lifts the limit, extending
the completion candidates to include all topics.

If `forge-limit-topic-choices' is nil, then all candidates
can be selected from the start."
  (forge--read-topic prompt
                     #'forge-current-topic
                     (forge--topics-spec :type 'topic :active t)
                     (forge--topics-spec :type 'topic :active nil
                                         :state nil :limit nil)))