summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-02-06 23:48:29 -0500
committerKyle Meyer <kyle@kyleam.com>2016-02-06 23:48:29 -0500
commit31dc4a94d4d226d91fdcf0ebd74c4739856b5f2f (patch)
treed8abe1cd5d35cc304d4108b729d92ffa9d1b6a52 /lisp
parent96c09fe281b9307430d7353a24ff00fe06f838f9 (diff)
downloademacs.d-31dc4a94d4d226d91fdcf0ebd74c4739856b5f2f.tar.gz
org-agenda-cd-and-read-dir-locals: Use absolute path
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-org.el b/lisp/km-org.el
index 5098748..49fa76f 100644
--- a/lisp/km-org.el
+++ b/lisp/km-org.el
@@ -309,7 +309,7 @@ called through the speed command interface."
;;;###autoload
(defun km/org-agenda-cd-and-read-dir-locals ()
(unless (get 'org-agenda-files 'org-restrict)
- (setq default-directory "~/notes/")
+ (setq default-directory (expand-file-name "~/notes/"))
(hack-local-variables)))
;;;###autoload