From f94b733e3381c499073708f711e743ceffbb9bd5 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 20 Feb 2024 13:28:02 +0200 Subject: [fix] gnosis-get-notes-for-deck Deprecated use of gnosis-select --- gnosis.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnosis.el b/gnosis.el index 67f2e6b..6385e1a 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1181,9 +1181,9 @@ SECOND-IMAGE: Image to display after user-input" (cl-defun gnosis-get-notes-for-deck (&optional (deck (gnosis--get-deck-id))) "Return a list of ID vlaues for each note with value of deck-id DECK." - (gnosis-select 'id 'notes `(= deck-id ,deck) '1=1 t)) + (gnosis-select 'id 'notes `(= deck-id ,deck) t)) -(defun gnosis-export-note (id) +(cl-defun gnosis-export-note (id &optional (export-for-deck nil)) "Export fields for note with value of id ID. ID: Identifier of the note to export. -- cgit v1.2.3