From b3e1b4cc8d0e6f49362954601c0898d41cdc3633 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 5 Dec 2021 18:15:19 +0100 Subject: call sort at the end of update-buffer --- local/bibli-paris/bibli-paris.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'local') diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index 5232b44..0e32dce 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -310,7 +310,6 @@ org-map-entries)" (seq-partition (seq-reverse pom-recnum-seq) bibli-paris/max-asynchronous-processes) 'bibli-paris/async-update-entries-at-points) - ;; (deferred:nextc it 'bibli-paris/sort) (deferred:nextc it (lambda () (message "Update done.")))))) ;;;###autoload @@ -321,9 +320,11 @@ org-map-entries)" ;;;###autoload (defun bibli-paris/update-buffer () - "Update the schedules and quotes of the entries in the current buffer." + "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/sort)) ;; import entries -- cgit v1.2.3