Function: forge-toggle-display-in-status-buffer
forge-toggle-display-in-status-buffer is an interactive and natively
compiled function defined in forge-commands.el.
Signature
(forge-toggle-display-in-status-buffer)
Documentation
Toggle whether to display topics in the current status buffer.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-commands.el
(transient-define-suffix forge-toggle-display-in-status-buffer ()
"Toggle whether to display topics in the current status buffer."
:if-mode 'magit-status-mode
:inapt-if-not #'forge--buffer-with-topics-sections-p
:description (lambda ()
(if (and forge--buffer-topics-spec
(oref forge--buffer-topics-spec type))
"hide topics"
"display topics"))
(interactive)
(oset forge--buffer-topics-spec type
(if (oref forge--buffer-topics-spec type) nil 'topic))
(forge-refresh-buffer))