Add message when syncing AnkiWeb

This commit is contained in:
orgtre 2022-11-13 19:46:22 +01:00
parent bc7dd603e6
commit 6f40326d2a

View file

@ -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" (user-error "anki-editor requires at least version %d of AnkiConnect"
anki-editor-api-version)))) anki-editor-api-version))))
(defun anki-editor-sync-collections () (defun anki-editor-sync-collection ()
"Synchronizes the local Anki collections with AnkiWeb." "Synchronize the local Anki collection with AnkiWeb."
(interactive) (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) (defun anki-editor-gui-browse (&optional query)
"Open Anki Browser with QUERY. "Open Anki Browser with QUERY.