diff options
author | Thanos Apollo <[email protected]> | 2024-02-20 13:28:02 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-20 13:28:02 +0200 |
commit | f94b733e3381c499073708f711e743ceffbb9bd5 (patch) | |
tree | 1ab8480c7d9bf9e31920009404bb05c782880636 /gnosis.el | |
parent | 6f23150a8c7c4a67adbf1d67f6f4ec9ddd4c98f0 (diff) |
[fix] gnosis-get-notes-for-deck
Deprecated use of gnosis-select
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |