Function: majutsu-insert-workspaces
majutsu-insert-workspaces is a natively compiled function defined in
majutsu-workspace.el.
Signature
(majutsu-insert-workspaces)
Documentation
Insert a Workspaces section.
When there is only one workspace, nothing is inserted unless called
from majutsu-workspace-mode.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-workspace.el
;;;###autoload
(defun majutsu-insert-workspaces ()
"Insert a Workspaces section.
When there is only one workspace, nothing is inserted unless called
from `majutsu-workspace-mode'."
(let ((show-single (eq major-mode 'majutsu-workspace-mode))
(plan (majutsu-workspace--ensure-template-plan)))
(magit-insert-section (workspaces)
(majutsu-jj-wash (lambda (args)
(majutsu-workspace--wash-list show-single args))
nil
"workspace" "list" "-T" (plist-get plan :template)))))