Skip to content

Commit

Permalink
consult: Use consult--line-with-mark
Browse files Browse the repository at this point in the history
  • Loading branch information
condy0919 committed Jul 24, 2023
1 parent 3983b6b commit 286d69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modes/consult/evil-collection-consult.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
(declare-function consult--forbid-minibuffer "consult")
(declare-function consult--fontify-all "consult")
(declare-function consult--in-range-p "consult")
(declare-function consult--line-with-cursor "consult")
(declare-function consult--line-with-mark "consult")
(declare-function consult--location-candidate "consult")
(declare-function consult--remove-dups "consult")
(declare-function consult--mark-candidates "consult")
Expand Down Expand Up @@ -87,7 +87,7 @@ as defined in `evil-collection-consult--evil-mark-ring'."
(consult--in-range-p pos))
(goto-char pos)
(push (consult--location-candidate
(format "%s: %s" (char-to-string char) (consult--line-with-cursor marker))
(format "%s: %s" (char-to-string char) (consult--line-with-mark marker))
marker
(line-number-at-pos pos consult-line-numbers-widen)
marker)
Expand Down

0 comments on commit 286d69d

Please sign in to comment.