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

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

[elpa] master d6b18f0 151/272: ivy.el (ivy-occur-press): Pulse no longer


From: Oleh Krehel
Subject: [elpa] master d6b18f0 151/272: ivy.el (ivy-occur-press): Pulse no longer
Date: Mon, 25 Apr 2016 10:13:22 +0000

branch: master
commit d6b18f00377a20de55e7776260c6436c7c123604
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-occur-press): Pulse no longer
    
    Repeated pulses within a short time span resulted in horrible window
    flickering.
---
 ivy.el |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ivy.el b/ivy.el
index 8a72546..fa156f8 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2831,7 +2831,6 @@ EVENT gives the mouse position."
 (defun ivy-occur-press ()
   "Execute action for the current candidate."
   (interactive)
-  (require 'pulse)
   (when (save-excursion
           (beginning-of-line)
           (looking-at "\\(?:./\\|    \\)\\(.*\\)$"))
@@ -2858,8 +2857,7 @@ EVENT gives the mouse position."
                (line-beginning-position)
                (line-end-position)
                (selected-window))
-              (run-at-time 0.5 nil 'swiper--cleanup))
-          (pulse-momentary-highlight-one-line (point)))))))
+              (run-at-time 0.5 nil 'swiper--cleanup)))))))
 
 (defvar ivy-help-file (let ((default-directory
                              (if load-file-name



reply via email to

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