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

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

[elpa] master 39d163a: load-dir: fix CL and free variable warnings


From: Teodor Zlatanov
Subject: [elpa] master 39d163a: load-dir: fix CL and free variable warnings
Date: Mon, 20 Mar 2017 08:58:24 -0400 (EDT)

branch: master
commit 39d163a45a52b7daa53c007700b12e5088872d65
Author: Ted Zlatanov <address@hidden>
Commit: Ted Zlatanov <address@hidden>

    load-dir: fix CL and free variable warnings
---
 packages/load-dir/load-dir.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/packages/load-dir/load-dir.el b/packages/load-dir/load-dir.el
index 9f7b06d..81c3bc2 100644
--- a/packages/load-dir/load-dir.el
+++ b/packages/load-dir/load-dir.el
@@ -5,7 +5,7 @@
 ;; Authors: Teodor Zlatanov <address@hidden>,
 ;;          Ben Key <address@hidden>
 ;; With-Help-From: Evans Winner <address@hidden>, PJ Weisberg <address@hidden>
-;; Version: 0.0.4
+;; Version: 0.0.5
 ;; Keywords: lisp, files, convenience
 
 ;; This file is part of GNU Emacs.
@@ -41,7 +41,7 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl))
+(eval-when-compile (require 'cl-extra))
 
 (defgroup load-dir nil
   "Automatically load all Emacs Lisp files in given directories."
@@ -113,7 +113,8 @@ Clears the list of loaded files and just calls 
`load-dir-load'."
   "Load all Emacs Lisp files in DIR.
 Recurses into subdirectories if `load-dir-recursive' is t."
   (load-dir-debug "Loading Emacs Lisp code from %s" dir)
-  (let ((suffixes (get-load-suffixes)))
+  (let ((suffixes (get-load-suffixes))
+        f)
     (dolist (full (and (file-exists-p dir)
                        (file-directory-p dir)
                        (directory-files dir t)))



reply via email to

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