 
 (evil-mode 1)
 
-(load (expand-file-name "mode-specific" user-emacs-directory))
-(load (expand-file-name "alias" user-emacs-directory))
-(load (expand-file-name "keymap" user-emacs-directory))
-(load (expand-file-name "modeline" user-emacs-directory))
-(load (expand-file-name "theme" user-emacs-directory))
+(load (locate-user-emacs-file "mode-specific"))
+(load (locate-user-emacs-file "alias"))
+(load (locate-user-emacs-file "keymap"))
+(load (locate-user-emacs-file "modeline"))
+(load (locate-user-emacs-file "theme"))
 
 (custom-set-variables
  ;; custom-set-variables was added by Custom.

(defvar auto-install t)
(defconst favorite-packages '(evil
                              evil-surround
                              evil-exchange

;; history
(defconst temp-emacs-dir (expand-file-name (format "emacs%d" (user-uid))
                                           temporary-file-directory))
(setq backup-directory-alist `((".*" . ,(expand-file-name "backup" temp-emacs-dir))))

;; auto-save/'s trailing slash is important
(setq auto-save-file-name-transforms `((".*"
                                        ,(locate-user-emacs-file ".auto-save/")
                                        t))
      auto-save-timeout 60
      auto-save-interval 50)
