Function: consult-mark

consult-mark is an autoloaded, interactive and byte-compiled function defined in consult.el.

Signature

(consult-mark &optional MARKERS)

Documentation

Jump to a marker in MARKERS list (defaults to buffer-local mark-ring).

The command supports preview of the currently selected marker position. The symbol at point is added to the future history.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
;;;###autoload
(defun consult-mark (&optional markers)
  "Jump to a marker in MARKERS list (defaults to buffer-local `mark-ring').

The command supports preview of the currently selected marker position.
The symbol at point is added to the future history."
  (interactive)
  (consult--read
   (consult--mark-candidates
    (or markers (cons (mark-marker) mark-ring)))
   :prompt "Go to mark: "
   :category 'consult-location
   :sort nil
   :require-match t
   :lookup #'consult--lookup-location
   :history '(:input consult--line-history)
   :add-history (thing-at-point 'symbol)
   :state (consult--jump-state)))