diff options
| -rw-r--r-- | README.org | 2 | ||||
| -rw-r--r-- | local/bibli-paris/bibli-paris.el | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -48,7 +48,7 @@ The following commands are available. | =bibli-paris/set-to-next= | =SPC mtn= | Switch the entry at point to the =NEXT= state. | | =bibli-paris/set-to-booked= | =SPC mtb= | Switch the entry at point to the =BOOKED= state. | | =bibli-paris/set-to-done= | =SPC mtd= | Switch the entry at point to the =DONE= state. | -| =bibli-paris/update-buffer= | =SPC mub= | Asynchronously update the availability status and quotes of the entries in the current buffer. | +| =bibli-paris/update-buffer= | =SPC mub= | Asynchronously update the availability status and quotes of the entries in the current buffer, and sort it afterwards. | | =bibli-paris/update-entry= | =SPC mue= | Asynchronously update the availability status and quote of the entry at point. | | =bibli-paris/update-region= | =SPC mur= | Asynchronously update the availability status and quotes of the entries in the current region. | | =bibli-paris/archive-all-read= | =SPC mA= | Archive all entries in the =DONE= state. | 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 |
