branch: master
commit 497605f3b4c1ca7e948655d4efe733d2154708f7
Merge: 2751b96 dc4df88
Author: Alexey Veretennikov <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #41 from syohex/cl-lib
    
    Fix about cl-lib
---
 ztree-dir.el |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ztree-dir.el b/ztree-dir.el
index 7d866ff..600d965 100644
--- a/ztree-dir.el
+++ b/ztree-dir.el
@@ -45,7 +45,7 @@
 
 (require 'ztree-util)
 (require 'ztree-view)
-(eval-when-compile (require 'cl-lib))
+(require 'cl-lib)
 
 ;;
 ;; Constants
@@ -149,8 +149,8 @@ Otherwise, the ztree window is used to find the file."
   "Returns the list of files/directories for the given PATH"
   ;; remove . and .. from the list of files to avoid infinite
   ;; recursion
-  (remove-if (lambda (x) (string-match-p "/\\.\\.?$" x))
-             (directory-files path 'full)))
+  (cl-remove-if (lambda (x) (string-match-p "/\\.\\.?$" x))
+                (directory-files path 'full)))
 
 
 

Reply via email to