aboutsummaryrefslogtreecommitdiff
path: root/org-drill.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-13 16:41:01 -0600
committerCraig Jennings <c@cjennings.net>2025-11-13 16:41:01 -0600
commit2c81096877e99f790de486a588f0c4b0ebdaaad6 (patch)
tree7cf5ce4279c2197d36fd5e42424c45f6e01f0ca4 /org-drill.el
parent09c802cfcb40a2c1415ca5707c80b4be62380c99 (diff)
downloadorg-drill-2c81096877e99f790de486a588f0c4b0ebdaaad6.tar.gz
org-drill-2c81096877e99f790de486a588f0c4b0ebdaaad6.zip
Fix docstring typo and style in org-drill-entry-overdue-p
Changed 'dasy' to 'days' and improved docstring to follow Emacs conventions (imperative mood: 'Return non-nil' instead of 'Returns true'). Fixes severity B bug in todo.org
Diffstat (limited to 'org-drill.el')
-rw-r--r--org-drill.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-drill.el b/org-drill.el
index 80081c9..221f797 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -922,7 +922,7 @@ drill entry."
(time-to-days item-time))))))))
(defun org-drill-entry-overdue-p (session &optional days-overdue last-interval)
- "Returns true if entry that is scheduled DAYS-OVERDUE dasy in the past,
+ "Return non-nil if entry that is scheduled DAYS-OVERDUE days in the past,
and whose last inter-repetition interval was LAST-INTERVAL, should be
considered \\='overdue\\='. If the arguments are not given they are extracted
from the entry at point."