Use locate-user-emacs-file instead of expand-file-name. (#2016)

Then all advices on `locate-user-emacs-file` will work.
This commit is contained in:
lorniu
2021-12-27 14:37:46 +08:00
committed by GitHub
parent d0f17c6477
commit 3bf0a0a35d

View File

@ -54,7 +54,7 @@ a compiler. See https://nullprogram.com/blog/2014/02/06/."
(const sqlite3)
(symbol :tag "other")))
(defcustom org-roam-db-location (expand-file-name "org-roam.db" user-emacs-directory)
(defcustom org-roam-db-location (locate-user-emacs-file "org-roam.db")
"The path to file where the Org-roam database is stored.
It is the user's responsibility to set this correctly, especially