(docs): update org-roam dir-locals

use absolute path instead of relative path to prevent errors
This commit is contained in:
Jethro Kuan
2021-04-11 14:49:12 +08:00
parent 2d58651699
commit 997ddcbf4b
2 changed files with 4 additions and 4 deletions

View File

@ -1622,8 +1622,8 @@ variable using directory-local variables. This is what ~.dir-locals.el~ may
contain: contain:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
((nil . ((org-roam-directory . ".") ((nil . ((org-roam-directory . (expand-file-name "."))
(org-roam-db-location . "./org-roam.db")))) (org-roam-db-location . (expand-file-name "./org-roam.db")))))
#+END_SRC #+END_SRC
All files within that directory will be treated as their own separate set of All files within that directory will be treated as their own separate set of

View File

@ -2126,8 +2126,8 @@ variable using directory-local variables. This is what @code{.dir-locals.el} may
contain: contain:
@lisp @lisp
((nil . ((org-roam-directory . ".") ((nil . ((org-roam-directory . (expand-file-name "."))
(org-roam-db-location . "./org-roam.db")))) (org-roam-db-location . (expand-file-name "./org-roam.db")))))
@end lisp @end lisp
All files within that directory will be treated as their own separate set of All files within that directory will be treated as their own separate set of