summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 261609d..5acf0bc 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -26,11 +26,11 @@
               (if (and (not (string-prefix-p "." file))
                        (file-directory-p full-path))
                   (add-to-list 'load-path full-path))))
-          (directory-files path))))
+          (directory-files path)))
+  (add-to-list 'load-path path))
 
 (if (file-exists-p (concat *el-get-dir* "el-get"))
-    (progn (add-subdirs-to-load-path *el-get-dir*)
-	   (add-to-list 'load-path *el-get-dir*))
+    (add-subdirs-to-load-path *el-get-dir*)
   (unless (require 'el-get nil t)
     (with-current-buffer
       (url-retrieve-synchronously