Function: magit-todos--scan-callback

magit-todos--scan-callback is a natively compiled function defined in magit-todos.el.

Signature

(magit-todos--scan-callback &key CALLBACK MAGIT-STATUS-BUFFER RESULTS-REGEXP PROCESS &allow-other-keys)

Documentation

Call CALLBACK with arguments MAGIT-STATUS-BUFFER and match items.

Match items are a list of magit-todos-item found in PROCESS's buffer for RESULTS-REGEXP.

Source Code

;; Defined in /nix/store/xy37aj9089qvbs5clw0qszpi3hrh3mxx-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-todos-20250928.1611/magit-todos.el
(cl-defun magit-todos--scan-callback (&key callback magit-status-buffer results-regexp process &allow-other-keys)
  "Call CALLBACK with arguments MAGIT-STATUS-BUFFER and match items.
Match items are a list of `magit-todos-item' found in PROCESS's
buffer for RESULTS-REGEXP."
  (funcall callback magit-status-buffer
           (with-current-buffer (process-buffer process)
             (magit-todos--buffer-items results-regexp))))