 
 (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

      )
(desktop-save-mode 1)

(setq recentf-save-file (locate-user-emacs-file ".recentf")
      ;recentf-max-saved-items 30
      ;recentf-exclude '("/TAGS$" "/var/tmp/" "/tmp/")
      )
(recentf-mode 1)

(setq save-place-file (locate-user-emacs-file ".places"))
(save-place-mode 1)

;; misc
(show-paren-mode 1)
(setq-default tab-width 4)
(setq backward-delete-char-untabify-method 'hungry
      electric-indent-chars (remq ?\n electric-indent-chars)
