From 705a54bda1c443d9f51861802146647e21c1f7f1 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sun, 25 May 2014 09:19:53 -0400 Subject: [PATCH] Move path initialization before everything else --- init.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index 2f43279..0b48120 100644 --- a/init.el +++ b/init.el @@ -71,6 +71,12 @@ scroll-conservatively 10000 scroll-preserve-screen-position 1) +;; add .emacs.d and subdirs to load path +(add-to-list 'load-path "~/.emacs.d") +(let ((default-directory "~/.emacs.d/")) + (normal-top-level-add-subdirs-to-load-path) + (normal-top-level-add-to-load-path '("fringe-helper.el" "multiple-cursors.el" "dash.el"))) + (require 'mic-paren) ; loading (paren-activate) ; activating @@ -119,12 +125,6 @@ (require 'pomodoro) -;; add .emacs.d and subdirs to load path -(add-to-list 'load-path "~/.emacs.d") -(let ((default-directory "~/.emacs.d/")) - (normal-top-level-add-subdirs-to-load-path) - (normal-top-level-add-to-load-path '("fringe-helper.el" "multiple-cursors.el" "dash.el"))) - (require 'key-chord) (key-chord-mode 1) (setq key-chord-two-keys-delay 0.05)