Function: majutsu-section-toggle
majutsu-section-toggle is an interactive and natively compiled
function defined in majutsu-section.el.
Signature
(majutsu-section-toggle SECTION)
Documentation
Toggle visibility of SECTION.
Key Bindings
majutsu-mode-map TAB
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-section.el
(defun majutsu-section-toggle (section)
"Toggle visibility of SECTION."
(interactive (list (magit-current-section)))
(cond ((eq section magit-root-section)
(user-error "Cannot hide root section"))
((oref section hidden)
(majutsu-section-show section))
(t
(majutsu-section-hide section))))