Function: embark-consult--upgrade-markers

embark-consult--upgrade-markers is a natively compiled function defined in embark-consult.el.

Signature

(embark-consult--upgrade-markers)

Documentation

Upgrade consult-location cheap markers to real markers.

This function is meant to be added to embark-collect-mode-hook.

Source Code

;; Defined in /nix/store/9j1lpwknj0cd46jf87pww3rp6rcmnk70-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-consult-20260503.118/embark-consult.el
(defun embark-consult--upgrade-markers ()
  "Upgrade consult-location cheap markers to real markers.
This function is meant to be added to `embark-collect-mode-hook'."
  (when (eq embark--type 'consult-location)
    (dolist (entry tabulated-list-entries)
      (when (car entry)
        (consult--get-location (car entry))))))