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

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

[elpa] master dc4df88 1/7: Fix about cl-lib


From: Alexey Veretennikov
Subject: [elpa] master dc4df88 1/7: Fix about cl-lib
Date: Thu, 5 Jan 2017 10:12:05 +0000 (UTC)

branch: master
commit dc4df881c083606b1855e84297b47d8bb8ca12fb
Author: Syohei YOSHIDA <address@hidden>
Commit: Syohei YOSHIDA <address@hidden>

    Fix about cl-lib
    
    - Use cl-lib function instead of cl.el
    - Remove eval-when-compile for using cl-lib function
---
 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

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