Function: global-org-modern-mode

global-org-modern-mode is an interactive and natively compiled function defined in org-modern.el.

Signature

(global-org-modern-mode &optional ARG)

Documentation

Toggle Org-Modern mode in many buffers.

Specifically, Org-Modern mode is enabled in all buffers where org-modern--on would do it.

With prefix ARG, enable Global Org-Modern mode if ARG is positive; otherwise, disable it.

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.

See org-modern-mode(var)/org-modern-mode(fun) for more information on Org-Modern mode.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/0fwir9vccqq0yiqnswyf22ip3sl68f49-emacs-packages-deps/share/emacs/site-lisp/elpa/org-modern-20260722.1411/org-modern.el
;;;###autoload
(define-globalized-minor-mode global-org-modern-mode
  org-modern-mode org-modern--on
  :group 'org-modern
  (if global-org-modern-mode
      (add-hook 'org-agenda-finalize-hook #'org-modern-agenda)
    (remove-hook 'org-agenda-finalize-hook #'org-modern-agenda)))