emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-drill 2be993c6ce 037/251: Don't warn about a high perc


From: ELPA Syncer
Subject: [nongnu] elpa/org-drill 2be993c6ce 037/251: Don't warn about a high percentage of failed items when the number of tested
Date: Mon, 17 Jan 2022 18:58:58 -0500 (EST)

branch: elpa/org-drill
commit 2be993c6ce9b604c82eb610df0969ad239007ab6
Author: eeeickythump <devnull@localhost>
Commit: eeeickythump <devnull@localhost>

    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 074cc99527..6cd329dab3 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]