Variable: forge-edit-post-hook

forge-edit-post-hook is a customizable variable defined in forge-post.el.

Value

(forge-create-pullreq-insert-single-commit-message
 forge-create-pullreq-show-diff)

Documentation

Hook run after setting up a buffer to edit a post.

Consult the variable forge-edit-post-action to determine the action; one of new-discussion, new-issue, new-pullreq, reply and edit.

This variable was added, or its default value changed, in forge version 0.6.0.

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-post.el
(defcustom forge-edit-post-hook
  '(forge-create-pullreq-insert-single-commit-message
    forge-create-pullreq-show-diff)
  "Hook run after setting up a buffer to edit a post.
Consult the variable `forge-edit-post-action' to determine the action;
one of `new-discussion', `new-issue', `new-pullreq', `reply' and `edit'."
  :package-version '(forge . "0.6.0")
  :group 'forge
  :type 'hook
  :options '(forge-create-pullreq-insert-single-commit-message
             forge-create-pullreq-insert-branch-description
             forge-create-pullreq-show-diff))