Variable: magit-todos-insert-after
magit-todos-insert-after is a customizable variable defined in
magit-todos.el.
Value
(bottom)
Documentation
Where to insert the TODOs section in the Magit status buffer.
The TODOs section is inserted after the first of these sections
found, or at the bottom if none exist. Specific sections may be
chosen, using the first symbol returned by evaluating
"(magit-section-ident (magit-current-section))" in the status
buffer with point on the desired section, e.g. recent for the
"Recent commits" section. Note that this may not work exactly
as desired when the built-in scanner is used.
Source Code
;; Defined in /nix/store/xy37aj9089qvbs5clw0qszpi3hrh3mxx-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-todos-20250928.1611/magit-todos.el
(defcustom magit-todos-insert-after '(bottom)
"Where to insert the TODOs section in the Magit status buffer.
The TODOs section is inserted after the first of these sections
found, or at the bottom if none exist. Specific sections may be
chosen, using the first symbol returned by evaluating
\"(magit-section-ident (magit-current-section))\" in the status
buffer with point on the desired section, e.g. `recent' for the
\"Recent commits\" section. Note that this may not work exactly
as desired when the built-in scanner is used."
:type '(repeat
(choice (const :tag "Top" top)
(const :tag "Bottom" bottom)
(const :tag "Recent commits" unpushed)
(const :tag "Untracked files" untracked)
(const :tag "Unstaged files" unstaged)
(const :tag "Staged files" staged)
(const :tag "Stashes" stashes)
(const :tag "Pull requests (Forge)" pullreqs)
(const :tag "Issues (Forge)" issues)
(symbol :tag "Specified section"))))