Skip to content

Commit

Permalink
Don't push but cons current mark (#1891)
Browse files Browse the repository at this point in the history
Same as originally.

* helm-ring.el (helm-mark-ring-get-candidates): Do it.
  • Loading branch information
Thierry Volpiatto committed Oct 28, 2017
1 parent 2cfaea5 commit ece8972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-ring.el
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ This is a command for `helm-kill-ring-map'."
(defun helm-mark-ring-get-candidates ()
(with-helm-current-buffer
(cl-loop with marks = (if (mark t)
(push (mark-marker) mark-ring)
(cons (mark-marker) mark-ring)
mark-ring)
for marker in marks
with max-line-number = (line-number-at-pos (point-max))
Expand Down

0 comments on commit ece8972

Please sign in to comment.