summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-02-26 10:04:48 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-02-26 10:04:48 +0100
commit07f40be79be741a4062d287891b44702feddf57f (patch)
treece8d5804e0d1846f3ad9d517eca5bcfa3dbfa5ef
parent2535fd1560aedede32fd17e354cdd6ae5dd321f4 (diff)
update-buffer : use sequential implementation while debugging async one
-rw-r--r--local/bibli-paris/bibli-paris.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el
index c799be0..11d560e 100644
--- a/local/bibli-paris/bibli-paris.el
+++ b/local/bibli-paris/bibli-paris.el
@@ -299,7 +299,7 @@ POM-RECNUM-SEQ, fetching the corresponding data asynchronously."
"Update all entries' schedules and quotes, fetching the corresponding data
sequentially. Terribly inefficient but works."
(let ((poms (org-map-entries 'point)))
- (deferred:loop ;; acutally doesn't work ?
+ (deferred:loop
(seq-reverse poms)
(lambda (pom) (deferred:$
(deferred:call 'goto-char pom)
@@ -335,7 +335,8 @@ org-map-entries)"
"Update the schedules and quotes of the entries in the current buffer, and
sort it afterwards."
(interactive)
- (bibli-paris/update-entries-batch nil)
+ ;; (bibli-paris/update-entries-batch nil)
+ (bibli-paris/update-entries-sequential)
(bibli-paris/sort))