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

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

[elpa] master 09c40fc 175/184: swiper.el (swiper--occur-insert-lines): S


From: Oleh Krehel
Subject: [elpa] master 09c40fc 175/184: swiper.el (swiper--occur-insert-lines): Simplify
Date: Wed, 16 Oct 2019 13:15:17 -0400 (EDT)

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

    swiper.el (swiper--occur-insert-lines): Simplify
---
 swiper.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/swiper.el b/swiper.el
index 0d97bc1..a32eaa7 100644
--- a/swiper.el
+++ b/swiper.el
@@ -637,8 +637,7 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
   (insert (format "%d candidates:\n" (length cands)))
   (ivy--occur-insert-lines cands)
   (goto-char (point-min))
-  (forward-line 4)
-  (setq-local next-error-function #'ivy-occur-next-error))
+  (forward-line 4))
 
 (defun swiper--occur-buffer ()
   (let ((buffer (ivy-state-buffer ivy-last)))



reply via email to

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