summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-20 06:53:02 +0300
committerThanos Apollo <[email protected]>2024-07-20 06:53:02 +0300
commit102fe7c385677b8dec8ff0eb736e2130f16fd89c (patch)
tree1c4d77f0f9e0338f99a0fb5623ff8b1a6dc81d17 /gnosis.el
parentd34c22f1781676018d575e6274e7975c2d986e94 (diff)
New variable: gnosis-review-notes: Hold value of notes for review.
* Collection of note ids for review.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index e3577bc..dd81ab0 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -206,6 +206,9 @@ Seperate the question/stem from options."
(defvar gnosis-due-notes-total nil
"Total due notes.")
+(defvar gnosis-review-notes nil
+ "Review notes.")
+
;;; Faces
(defgroup gnosis-faces nil
@@ -1702,6 +1705,7 @@ NOTES: List of note ids"
(if (null notes)
(message "No notes for review.")
(when (y-or-n-p (format "You have %s total notes for review, start session?" (length notes)))
+ (setf gnosis-review-notes notes)
(catch 'stop-loop
(cl-loop for note in notes
do (let ((success (gnosis-review-note note)))