From a76e0d19da9ea6c4620a1f963c7d8ce5e81376ef Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 2 Apr 2024 16:51:09 +0300 Subject: Update depecreated use of gnosis-tag-prompt Fix keywords used --- gnosis.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnosis.el b/gnosis.el index 333bbaa..48cc707 100644 --- a/gnosis.el +++ b/gnosis.el @@ -493,7 +493,7 @@ When called with a prefix, unsuspends all notes in deck." "Suspend all note(s) with tag. When called with a prefix, unsuspends all notes for tag." - (let ((notes (gnosis-select-by-tag (gnosis-tag-prompt nil t))) + (let ((notes (gnosis-select-by-tag (gnosis-tag-prompt))) (suspend (if current-prefix-arg 0 1))) (cl-loop for note in notes do (gnosis-update 'review-log `(= suspend ,suspend) `(= id ,note))))) @@ -1517,8 +1517,8 @@ to improve readability." ("Due notes" (gnosis-review--session (gnosis-review-get-due-notes))) ("Due notes of deck" (gnosis-review--session (gnosis-get-deck-due-notes))) ("Due notes of specified tag(s)" (gnosis-review--session - (gnosis-select-by-tag (gnosis-tag-prompt :match t :due t)))) - ("All notes of tag(s)" (gnosis-review--session (gnosis-select-by-tag (gnosis-tag-prompt :match t))))))) + (gnosis-select-by-tag (gnosis-tag-prompt :due t)))) + ("All notes of tag(s)" (gnosis-review--session (gnosis-select-by-tag (gnosis-tag-prompt))))))) ;;; Database Schemas (defvar gnosis-db-schema-decks '([(id integer :primary-key :autoincrement) -- cgit v1.2.3