From 6f40326d2ae1653f7e88139520fe06618cafd3dd Mon Sep 17 00:00:00 2001 From: orgtre Date: Sun, 13 Nov 2022 19:46:22 +0100 Subject: [PATCH] Add message when syncing AnkiWeb --- anki-editor.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/anki-editor.el b/anki-editor.el index bc3ed84..b01ee07 100644 --- a/anki-editor.el +++ b/anki-editor.el @@ -1234,10 +1234,11 @@ Otherwise this command is like `anki-editor-set-note-type'." (user-error "anki-editor requires at least version %d of AnkiConnect" anki-editor-api-version)))) -(defun anki-editor-sync-collections () - "Synchronizes the local Anki collections with AnkiWeb." +(defun anki-editor-sync-collection () + "Synchronize the local Anki collection with AnkiWeb." (interactive) - (anki-editor-api-call-result 'sync)) + (anki-editor-api-call-result 'sync) + (message "Synced local Anki collection with AnkiWeb.")) (defun anki-editor-gui-browse (&optional query) "Open Anki Browser with QUERY.