Fix #2968: refactor how org-directory default is set

This commit is contained in:
Henrik Lissner 2020-04-25 15:40:24 -04:00
parent 77542bcccc
commit 6cb1390fac
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 30 additions and 15 deletions

View file

@ -40,7 +40,7 @@
:desc "Tomorrow" "m" #'org-roam-dailies-tomorrow
:desc "Yesterday" "y" #'org-roam-dailies-yesterday))
:config
(setq org-roam-directory (expand-file-name (or org-roam-directory "")
(setq org-roam-directory (expand-file-name (or org-roam-directory "roam")
org-directory)
org-roam-verbose nil ; https://youtu.be/fn4jIlFwuLU
org-roam-buffer-no-delete-other-windows t ; make org-roam buffer sticky