Skip to content
Browse files

drop dotfiles-dir in favor of user-emacs-directory

  • Loading branch information...
1 parent 43b4de4 commit 563aac49a9712070822ae3d46d00ba1fe37a49a0 @bleything committed Feb 17, 2012
Showing with 3 additions and 5 deletions.
  1. +2 −4 init.el
  2. +1 −1 window.el
View
6 init.el
@@ -31,9 +31,7 @@
;;; Shortcuts
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(setq dotfiles-dir (file-name-directory
- (or (buffer-file-name) load-file-name))
- vendor-dir (concat dotfiles-dir "vendor/"))
+(setq vendor-dir (concat user-emacs-directory "vendor/"))
;;; helper functions!
@@ -43,7 +41,7 @@
; load files from the dotfile path
(defun load-config (file)
- (load-file (concat dotfiles-dir file)))
+ (load-file (concat user-emacs-directory file)))
;;; add vendor/misc to load path
(add-to-load-path "misc")
View
2 window.el
@@ -37,7 +37,7 @@
(color-theme-initialize)
;;; shortcuts for color schemes
-(setq colors-dir (concat dotfiles-dir "colors/"))
+(setq colors-dir (concat user-emacs-directory "colors/"))
;;; helper function for loading color themes
(defun use-color-theme (name)

0 comments on commit 563aac4

Please sign in to comment.
Something went wrong with that request. Please try again.