summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
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 6c69b98..c7d02a5 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1991,6 +1991,10 @@ VALUES: Defaults to `gnosis-custom-values'."
(setq results (append results (nth 2 rule)))))
results))
+(defun gnosis-get-custom-deck-value (deck value &optional values)
+ "Return custom VALUE for note DECK."
+ (plist-get (gnosis-get-custom-values :deck deck values) value))
+
(defun gnosis-get-date-total-notes (&optional date)
"Return total notes reviewed for DATE.