[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 3b1e7af166 04/10: org-persist: Ensure index instant
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 3b1e7af166 04/10: org-persist: Ensure index instantiated before read |
Date: |
Sun, 11 Dec 2022 02:57:57 -0500 (EST) |
branch: externals/org
commit 3b1e7af16634f974981588fa0a87eada219db66b
Author: TEC <git@tecosaur.net>
Commit: TEC <git@tecosaur.net>
org-persist: Ensure index instantiated before read
* lisp/org-persist.el (org-persist-read): If the index is empty at the
start of `org-persist-read', load it before continuing.
---
lisp/org-persist.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 564fb1950b..f53eb53ec5 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -771,6 +771,7 @@ ASSOCIATED can be a plist, a buffer, or a string.
A buffer is treated as (:buffer ASSOCIATED).
A string is treated as (:file ASSOCIATED).
When LOAD? is non-nil, load the data instead of reading."
+ (unless org-persist--index (org-persist--load-index))
(setq associated (org-persist--normalize-associated associated))
(setq container (org-persist--normalize-container container))
(unless (and org-persist-disable-when-emacs-Q
- [elpa] externals/org updated (42153ea2fe -> 1a9d0850b6), ELPA Syncer, 2022/12/11
- [elpa] externals/org e663b90fe5 05/10: org-persist: Fix unconditional gc of urls, ELPA Syncer, 2022/12/11
- [elpa] externals/org 47654f844d 06/10: org-persist: Fix number of remote files kept, ELPA Syncer, 2022/12/11
- [elpa] externals/org 8b8a65ed02 08/10: org-persist: Introduce "associated files" for GC, ELPA Syncer, 2022/12/11
- [elpa] externals/org 5b076f5057 03/10: org-persist: Add missing end quote to docstrings, ELPA Syncer, 2022/12/11
- [elpa] externals/org 534633d508 09/10: org-persist: Use associated file functions for GC, ELPA Syncer, 2022/12/11
- [elpa] externals/org 1a9d0850b6 10/10: org-persist: Do not re-download url files on write, ELPA Syncer, 2022/12/11
- [elpa] externals/org 3b1e7af166 04/10: org-persist: Ensure index instantiated before read,
ELPA Syncer <=
- [elpa] externals/org 8800d28e84 02/10: org: Use buffer-base-buffer in safe resource fns, ELPA Syncer, 2022/12/11
- [elpa] externals/org c91226354a 07/10: org-persist: Fix attempted mapc-ing of macro, ELPA Syncer, 2022/12/11
- [elpa] externals/org a6fc8d3f1f 01/10: ox: Handle failure to localize link, ELPA Syncer, 2022/12/11