made prelude-dir relative to the location of Prelude's init.el
This commit is contained in:
parent
13ce41a3e3
commit
29ca3b99c4
3 changed files with 7 additions and 5 deletions
modules
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue