fixed #1
This commit is contained in:
parent
6bcf46a01d
commit
6d836e35c3
2 changed files with 4 additions and 3 deletions
4
init.el
4
init.el
|
@ -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)
|
||||||
|
|
|
@ -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 ()
|
||||||
|
|
Loading…
Reference in a new issue