From 3bf0a0a35dc2a480b2cb9147880f8c7c0047b1e5 Mon Sep 17 00:00:00 2001 From: lorniu Date: Mon, 27 Dec 2021 14:37:46 +0800 Subject: [PATCH] Use `locate-user-emacs-file` instead of `expand-file-name`. (#2016) Then all advices on `locate-user-emacs-file` will work. --- org-roam-db.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-db.el b/org-roam-db.el index 9f5bac8..198bd98 100644 --- a/org-roam-db.el +++ b/org-roam-db.el @@ -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