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

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

[elpa] master 013fe04 02/12: swiper.el (swiper--ivy): Check for stand-al


From: Oleh Krehel
Subject: [elpa] master 013fe04 02/12: swiper.el (swiper--ivy): Check for stand-alone ivy
Date: Thu, 23 Apr 2015 18:01:55 +0000

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

    swiper.el (swiper--ivy): Check for stand-alone ivy
    
    Re #54
---
 swiper.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/swiper.el b/swiper.el
index c58f20f..290260e 100644
--- a/swiper.el
+++ b/swiper.el
@@ -172,6 +172,9 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
   "`isearch' with an overview using `ivy'.
 When non-nil, INITIAL-INPUT is the initial search pattern."
   (interactive)
+  (unless (eq (length (help-function-arglist 'ivy-read)) 4)
+    (warn "You seem to be using the outdated stand-alone \"ivy\" package.
+Please remove it and update the \"swiper\" package."))
   (swiper--init)
   (let ((candidates (swiper--candidates))
         (preselect (format



reply via email to

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