summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-11-21 16:33:28 -0800
committerFranck Cuny <franck.cuny@gmail.com>2016-11-21 16:33:28 -0800
commit44c961bd110b30a278c60dddace0b8ca90044a9f (patch)
tree6e42a49d4881801d0a2139de65c91a0a44b5dd52
parent[Emacs] Remove TABS and replace them with spaces. (diff)
downloademacs.d-44c961bd110b30a278c60dddace0b8ca90044a9f.tar.gz
[Emacs] Don't hard code string.
-rw-r--r--emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index c6d1967..6f6d739 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -427,8 +427,8 @@
   (setq projectile-switch-project-action 'projectile-dired
         projectile-enable-caching t
         projectile-completion-system 'ivy
-        projectile-known-projects-file "~/.emacs.d/var/projectile-bookmarks.eld"
-        projectile-cache-file "~/.emacs.d/var/projectile.cache")
+        projectile-known-projects-file (expand-file-name "var/projectile-bookmarks.eld" user-emacs-directory)
+        projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory))
   (add-to-list 'projectile-globally-ignored-files ".DS_Store"))
 
 (use-package puppet-mode