diff --git a/doc/org-roam.org b/doc/org-roam.org index bf12771..6b94b55 100644 --- a/doc/org-roam.org +++ b/doc/org-roam.org @@ -1622,8 +1622,8 @@ variable using directory-local variables. This is what ~.dir-locals.el~ may contain: #+BEGIN_SRC emacs-lisp - ((nil . ((org-roam-directory . ".") - (org-roam-db-location . "./org-roam.db")))) + ((nil . ((org-roam-directory . (expand-file-name ".")) + (org-roam-db-location . (expand-file-name "./org-roam.db"))))) #+END_SRC All files within that directory will be treated as their own separate set of diff --git a/doc/org-roam.texi b/doc/org-roam.texi index 2bf82ad..3dbfaee 100644 --- a/doc/org-roam.texi +++ b/doc/org-roam.texi @@ -2126,8 +2126,8 @@ variable using directory-local variables. This is what @code{.dir-locals.el} may contain: @lisp -((nil . ((org-roam-directory . ".") - (org-roam-db-location . "./org-roam.db")))) +((nil . ((org-roam-directory . (expand-file-name ".")) + (org-roam-db-location . (expand-file-name "./org-roam.db"))))) @end lisp All files within that directory will be treated as their own separate set of