From 844d145f9740500b2366273e5bcf028fde0174a5 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 24 Feb 2020 15:14:00 +0100 Subject: [PATCH] Construct org-id-locations-file using expand-file-name --- modules/lang/org/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 46b046288..996cfead8 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -985,7 +985,7 @@ compelling reason, so..." ;; Global ID state means we can have ID links anywhere. This is required for ;; `org-brain', however. (setq org-id-track-globally t - org-id-locations-file (concat org-directory ".orgids") + org-id-locations-file (expand-file-name ".orgids" org-directory) org-id-locations-file-relative t) ;; HACK `org-id' doesn't check if `org-id-locations-file' exists or is