diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-13 17:18:48 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-13 17:18:48 -0600 |
| commit | eeb06e6adf32fc173aad5f6b6df2803d87fba5ee (patch) | |
| tree | 44fd37c1c6f2e8f1c5da8f6aad649282f6145f7a | |
| parent | 49f192009d9be9702f1d92d820a872aebe20d1ff (diff) | |
| download | org-drill-eeb06e6adf32fc173aad5f6b6df2803d87fba5ee.tar.gz org-drill-eeb06e6adf32fc173aad5f6b6df2803d87fba5ee.zip | |
refactor: remove obsolete commented code for failure count
Removed commented-out code that redundantly set the failures variable.
The failures count is already obtained from org-drill-entry-failure-count
on line 1538, making the commented code (lines 1548-1550) unnecessary.
This cleans up maintainability issues and removes confusing dead code.
| -rw-r--r-- | org-drill.el | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/org-drill.el b/org-drill.el index 392b73b..f84b357 100644 --- a/org-drill.el +++ b/org-drill.el @@ -1545,9 +1545,6 @@ of QUALITY." (cond ((<= quality org-drill-failure-quality) (when org-drill-leech-failure-threshold - ;;(setq failures (if failures (string-to-number failures) 0)) - ;; (org-set-property "DRILL_FAILURE_COUNT" - ;; (format "%d" (1+ failures))) (if (> (1+ failures) org-drill-leech-failure-threshold) (org-toggle-tag "leech" 'on)))) (t |
