summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helm-ring.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-ring.el b/helm-ring.el
index 4da6382f..46a15810 100644
--- a/helm-ring.el
+++ b/helm-ring.el
@@ -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))