Function: forge-delete-comment
forge-delete-comment is an interactive and natively compiled function
defined in forge-commands.el.
Signature
(forge-delete-comment)
Documentation
Delete the comment at point.
Key Bindings
forge-post-section-map C-c C-k
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-commands.el
;;; Delete
(transient-define-suffix forge-delete-comment ()
"Delete the comment at point."
:description "delete comment"
:inapt-if-not #'forge-comment-at-point
(interactive)
(let ((comment (forge-comment-at-point t)))
(when (yes-or-no-p "Really delete the current comment? ")
(forge--delete-comment (forge-get-repository :tracked) comment))))