file-exists-p -> file-writable-p for org-id-locations-file
The IDs file isn't much good to use if it isn't writable.
This commit is contained in:
parent
a76e4b56b5
commit
78f1621fda
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue