From 2be993c6ce9b604c82eb610df0969ad239007ab6 Mon Sep 17 00:00:00 2001 From: eeeickythump Date: Wed, 11 May 2011 23:02:08 +1200 Subject: Don't warn about a high percentage of failed items when the number of tested items in the session is zero (Milan Zamazal). --- org-drill.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org-drill.el b/org-drill.el index 074cc99..6cd329d 100755 --- a/org-drill.el +++ b/org-drill.el @@ -1125,7 +1125,7 @@ How well did you do? (0-5, ?=help, e=edit, t=tags, q=quit)" (round (nth 3 next-review-dates)) (round (nth 4 next-review-dates)) (round (nth 5 next-review-dates))) - "How well did you do? (0-5, ?=help, e=edit, q=quit)"))) + "How well did you do? (0-5, ?=help, e=edit, t=tags, q=quit)"))) (cond ((stringp input) (setq ch (elt input 0))) @@ -1899,7 +1899,8 @@ Session finished. Press a key to continue..." (sit-for 0.5)) (read-char-exclusive) - (if (< pass-percent (- 100 org-drill-forgetting-index)) + (if (and *org-drill-session-qualities* + (< pass-percent (- 100 org-drill-forgetting-index))) (read-char-exclusive (format "%s -- cgit v1.2.3