diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 888fbbb8c..87aea8d89 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -959,6 +959,6 @@ compelling reason, so..." ;; writeable before trying to read/write to it. (defadvice! +org--fail-gracefully-a (&rest _) :before-while '(org-id-locations-save org-id-locations-load) - (file-exists-p org-id-locations-file)) + (file-writable-p org-id-locations-file)) (add-hook 'org-open-at-point-functions #'doom-set-jump-h))