From d2417cf8c67b583a93362b1f074c6a5699404896 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 27 Mar 2015 23:23:31 +0900 Subject: [PATCH] Update setup_load code --- emacs.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 2245a2e..a5d92c0 100644 --- a/emacs.el +++ b/emacs.el @@ -4,8 +4,9 @@ ;;; Code: -;; SETUP_LOAD: (and (file-readable-p "DOTFILES_DIR/emacs.el") -;; SETUP_LOAD: (load-file "DOTFILES_DIR/emacs.el")) +;; SETUP_LOAD: (let ((file "DOTFILES_DIR/emacs.el")) +;; SETUP_LOAD: (and (file-readable-p file) +;; SETUP_LOAD: (load-file file))) ;; make directories (unless (file-directory-p (expand-file-name user-emacs-directory))