[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 55f4dec 3/5: Use cl-plusp instead of plusp
From: |
Oleh Krehel |
Subject: |
[elpa] master 55f4dec 3/5: Use cl-plusp instead of plusp |
Date: |
Mon, 20 Apr 2015 17:32:59 +0000 |
branch: master
commit 55f4dec7b88e27205f82ac66867dfebc36107734
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
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))))