summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-04-02 16:51:09 +0300
committerThanos Apollo <[email protected]>2024-04-02 16:51:09 +0300
commita76e0d19da9ea6c4620a1f963c7d8ce5e81376ef (patch)
tree7f6a33baa4eb6f776835d8b4dcbe1b6edd1203bb
parent3a6d682c1804f42ffe44fcb50728b62b47ea6a70 (diff)
Update depecreated use of gnosis-tag-prompt
Fix keywords used
-rw-r--r--gnosis.el6
1 files 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)