summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnosis.el b/gnosis.el
index e08e93a..6564ba7 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -416,9 +416,9 @@ Also see `gnosis-string-edit'."
(recursive-edit)
string)
-(defun gnosis-display-next-review (id)
- "Display next interval for note ID."
- (let ((interval (gnosis-get 'next-rev 'review-log `(= id ,id))))
+(defun gnosis-display-next-review (id success)
+ "Display next interval of note ID for SUCCESS."
+ (let ((interval (car (gnosis-review-algorithm id success))))
(goto-char (point-max))
(insert "\n\n"
(propertize "Next review:" 'face 'gnosis-face-directions)