made prelude-dir relative to the location of Prelude's init.el

This commit is contained in:
Bozhidar Batsov 2011-10-11 22:21:31 +03:00
parent 13ce41a3e3
commit 29ca3b99c4
3 changed files with 7 additions and 5 deletions

View file

@ -348,7 +348,7 @@ there's a region, all lines that region covers will be duplicated."
(defun prelude-recompile-init ()
"Byte-compile all your dotfiles again."
(interactive)
(byte-recompile-directory user-emacs-directory 0)
(byte-recompile-directory prelude-dir 0)
(byte-recompile-directory prelude-vendor-dir 0))
(defun prelude-regen-autoloads (&optional force-regen)

View file

@ -59,7 +59,7 @@
(fset 'yes-or-no-p 'y-or-n-p)
;; custom Emacs 24 color themes support
(add-to-list 'custom-theme-load-path (concat user-emacs-directory "themes/"))
(add-to-list 'custom-theme-load-path (concat prelude-dir "themes/"))
(load-theme 'zenburn t)
(provide 'prelude-ui)