branch: master
commit 55f4dec7b88e27205f82ac66867dfebc36107734
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    Use cl-plusp instead of plusp
    
    * ivy.el (cl-lib): Add require.
    (ivy-alt-done): Update.
    
    Re #43
---
 ivy.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 8e38ac3..f6e4c1f 100644
--- a/ivy.el
+++ b/ivy.el
@@ -37,6 +37,8 @@
 ;; So "for example" is transformed into "\\(for\\).*\\(example\\)".
 
 ;;; Code:
+(require 'cl-lib)
+
 ;;* Customization
 (defgroup ivy nil
   "Incremental vertical completion."
@@ -186,7 +188,7 @@ When non-nil, it should contain one %d.")
            (ivy-done))
 
           ((and ivy--directory
-                (plusp ivy--length)
+                (cl-plusp ivy--length)
                 (file-directory-p
                  (setq dir (expand-file-name
                             ivy--current ivy--directory))))

Reply via email to