Function: magit-todos-jump-to-todos

magit-todos-jump-to-todos is an interactive and natively compiled function defined in magit-todos.el.

Signature

(magit-todos-jump-to-todos)

Documentation

Jump to TODOs section, and update it if empty.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/xy37aj9089qvbs5clw0qszpi3hrh3mxx-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-todos-20250928.1611/magit-todos.el
(defun magit-todos-jump-to-todos ()
  "Jump to TODOs section, and update it if empty."
  (interactive)
  (let ((already-in-section-p (magit-section-match [* todos])))
    (magit-jump-to-todos)
    (when (and (or (integerp magit-todos-update)
                   (not magit-todos-update))
               (or already-in-section-p
                   (= 0 (length (oref (magit-current-section) children)))))
      (magit-todos-update))))