Function: global-majutsu-jjdescription-mode
global-majutsu-jjdescription-mode is an interactive and natively
compiled function defined in majutsu-jjdescription.el.
Signature
(global-majutsu-jjdescription-mode &optional ARG)
Documentation
Edit JJ description buffers.
This global mode arranges for majutsu-jjdescription-setup to run
when a JJ description file is opened.
This is a global minor mode. If called interactively, toggle the
Global Majutsu-Jjdescription mode mode. If the prefix argument is
positive, enable the mode, and if it is zero or negative, disable the
mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate (default-value \=global-majutsu-jjdescription-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
(define-minor-mode global-majutsu-jjdescription-mode
"Edit JJ description buffers.
This global mode arranges for `majutsu-jjdescription-setup' to run
when a JJ description file is opened."
:group 'majutsu
:type 'boolean
:global t
:init-value t
:initialize
(lambda (symbol exp)
(custom-initialize-default symbol exp)
(majutsu-jjdescription--set-global-hooks (symbol-value symbol)))
(majutsu-jjdescription--set-global-hooks global-majutsu-jjdescription-mode))