branch: master
commit 09507fc5605337b99108f1a439c7db07e538c3a2
Author: SAITOU Keita <[email protected]>
Commit: SAITOU Keita <[email protected]>
counsel.el (counsel-mark-ring): Fix highlight line of selected candidate
---
counsel.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index fab279e..271c339 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3754,7 +3754,8 @@ This variable has no effect unless
(let ((pos (get-text-property 0 'point (ivy-state-current ivy-last))))
(counsel--mark-ring-delete-highlight)
(with-ivy-window
- (goto-char pos))))
+ (goto-char pos)
+ (counsel--mark-ring-add-highlight))))
;;;###autoload
(defun counsel-mark-ring ()