summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-24 20:04:33 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-24 20:04:33 -0700
commitf2c0c3f952a6f3b7aded53f1fdba6f5ad1814948 (patch)
treece98429a08b8a7f31fc4be3a1548a5a1e4913c6e
parent[emacs] simplify the UI. (diff)
downloademacs.d-f2c0c3f952a6f3b7aded53f1fdba6f5ad1814948.tar.gz
[emacs] set the path to pants correctly.
-rw-r--r--emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 75e87c4..2148683 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -165,7 +165,7 @@ Return the new window for BUFFER."
     window))
 
 ;; pants related stuff
-(load-file "~/src/pants.el/pants.el")
+(add-to-list 'load-path (expand-file-name  "~/src/pants.el/"))
 (require 'pants)
 (setq pants-source-tree-root "/Users/fcuny/src/source"
       pants-bury-compilation-buffer t)