diff options
| author | eeeickythump <devnull@localhost> | 2011-05-11 23:02:08 +1200 |
|---|---|---|
| committer | eeeickythump <devnull@localhost> | 2011-05-11 23:02:08 +1200 |
| commit | 2be993c6ce9b604c82eb610df0969ad239007ab6 (patch) | |
| tree | fabb06c35e3a3282cb873ec84c771c0e196074f9 | |
| parent | 0eca79a7965937ab098f584d7ecc8f31095e66e0 (diff) | |
| download | org-drill-2be993c6ce9b604c82eb610df0969ad239007ab6.tar.gz org-drill-2be993c6ce9b604c82eb610df0969ad239007ab6.zip | |
Don't warn about a high percentage of failed items when the number of tested
items in the session is zero (Milan Zamazal).
| -rwxr-xr-x | org-drill.el | 5 |
1 files 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 |
