Construct org-id-locations-file using expand-file-name

This commit is contained in:
Dima Gerasimov 2020-02-24 15:14:00 +01:00
parent 21db1b7c91
commit 844d145f97

View file

@ -985,7 +985,7 @@ compelling reason, so..."
;; Global ID state means we can have ID links anywhere. This is required for ;; Global ID state means we can have ID links anywhere. This is required for
;; `org-brain', however. ;; `org-brain', however.
(setq org-id-track-globally t (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) org-id-locations-file-relative t)
;; HACK `org-id' doesn't check if `org-id-locations-file' exists or is ;; HACK `org-id' doesn't check if `org-id-locations-file' exists or is