about summary refs log tree commit diff
path: root/emacs.d/wpc/packages/wpc-misc.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-06-15T18·23-0400
committerWilliam Carroll <wpcarro@gmail.com>2018-07-19T16·00-0400
commit30cdf1e94183dd2ca761e2283dea7c756eb814c5 (patch)
treec2918168f2d2fd18523218367c8cff77282a4696 /emacs.d/wpc/packages/wpc-misc.el
parent519be4dca1a5b7505aa3ad18f604b9db1f7a175b (diff)
Support current-project variable
DRYs up configuration...

This value is used to set:
  - my initial buffer
  - where <leader>-p jumps to
Diffstat (limited to 'emacs.d/wpc/packages/wpc-misc.el')
-rw-r--r--emacs.d/wpc/packages/wpc-misc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/wpc/packages/wpc-misc.el b/emacs.d/wpc/packages/wpc-misc.el
index fc65d7aa19b1..5958a47aa10f 100644
--- a/emacs.d/wpc/packages/wpc-misc.el
+++ b/emacs.d/wpc/packages/wpc-misc.el
@@ -34,7 +34,7 @@
 (set-register ?o '(file . "~/Dropbox/org/"))
 (set-register ?c '(file . "~/Dropbox/org/chains.org"))
 (set-register ?b '(file . "~/Dropbox/org/backlog.org"))
-(set-register ?p '(file . "~/urbint/grid-client"))
+(set-register ?p `(file . ,wpc/current-project))
 
 ;; persist history etc b/w Emacs sessions
 (setq desktop-save 'if-exists)