Function: forge-create-discussion

forge-create-discussion is an interactive and byte-compiled function defined in forge-commands.el.

Signature

(forge-create-discussion CATEGORY)

Documentation

Create a new discussion for the current repository.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-commands.el
;;; Create

(defun forge-create-discussion (category)
  "Create a new discussion for the current repository."
  (interactive
    (list (forge-read-topic-category nil "Category for new discussion")))
  (forge--setup-post-buffer 'new-discussion #'forge--submit-create-discussion
    "new-discussion" "Create new discussion on %p"
    `((forge--buffer-category ,category))))