This commit is contained in:
Bozhidar Batsov 2011-10-09 22:00:01 +03:00
parent 6bcf46a01d
commit 6d836e35c3
2 changed files with 4 additions and 3 deletions

View file

@ -39,9 +39,11 @@
(push "/usr/local/bin" exec-path)) (push "/usr/local/bin" exec-path))
(defvar prelude-dir "~/.emacs.d/") (defvar prelude-dir "~/.emacs.d/")
(defvar vendor-dir (concat prelude-dir "vendor"))
(defvar vendor-dir (concat prelude-dir "vendor/"))
(add-to-list 'load-path prelude-dir) (add-to-list 'load-path prelude-dir)
(add-to-list 'load-path vendor-dir)
(require 'prelude-ui) (require 'prelude-ui)
(require 'prelude-packages) (require 'prelude-packages)

View file

@ -46,8 +46,7 @@ Emacs load path."
(not (equal f "."))) (not (equal f ".")))
(add-to-list 'load-path name))))) (add-to-list 'load-path name)))))
;; add the first level subfolders automatically ;; add the first level subfolders of vendor automatically
(prelude-add-subfolders-to-load-path prelude-dir)
(prelude-add-subfolders-to-load-path vendor-dir) (prelude-add-subfolders-to-load-path vendor-dir)
(defun prelude-open-with () (defun prelude-open-with ()