emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 09507fc 109/184: counsel.el (counsel-mark-ring): Fix highl


From: Oleh Krehel
Subject: [elpa] master 09507fc 109/184: counsel.el (counsel-mark-ring): Fix highlight line of selected candidate
Date: Wed, 16 Oct 2019 13:15:01 -0400 (EDT)

branch: master
commit 09507fc5605337b99108f1a439c7db07e538c3a2
Author: SAITOU Keita <address@hidden>
Commit: SAITOU Keita <address@hidden>

    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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]