Function: forge-read-pullreq

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

Signature

(forge-read-pullreq PROMPT)

Documentation

Read an active pull-request with completion using PROMPT.

Open, unread and pending pull-requests are considered active. Default to the current pull-request, 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 pull-requests.

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-pullreq.el
;;; Read

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

Open, unread and pending pull-requests are considered active.
Default to the current pull-request, 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 pull-requests.

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