summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-06 13:31:42 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-06 13:31:42 +0100
commitb6f5f40e9809293baf726ad110ffd96b11ad2bad (patch)
tree9d574e610449e792f7dcd83e6bb48ab9b7df6139
parent3ba7667398cd1ffd6ec3e86cbd00826fe8189d49 (diff)
update: fix update buffer: don't sort asynchronously with update
-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 4f859fd..5419816 100644
--- a/local/bibli-paris/bibli-paris.el
+++ b/local/bibli-paris/bibli-paris.el
@@ -324,8 +324,9 @@ sequentially. Terribly inefficient but works."
"Update the schedules and quotes of the entries in the current buffer, and
sort it afterwards."
(interactive)
- (bibli-paris/update-entries-async)
- (bibli-paris/sort))
+ (deferred:$
+ (bibli-paris/update-entries-async)
+ (deferred:nextc it 'bibli-paris/sort)))
;; import entries