branch: elpa/org-drill
commit 04283a8a6c78b95fe316109dad3c7bde9b81ebfb
Author: Phillip Lord <[email protected]>
Commit: Phillip Lord <[email protected]>
Remove obsolete org-drill-optimal-factor-matrix
---
org-drill.el | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index 922f64423d..2e19530c22 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -402,14 +402,6 @@ Available choices are:
:group 'org-drill
:type '(choice (const sm2) (const sm5) (const simple8)))
-(defcustom org-drill-optimal-factor-matrix
- nil
- "Obsolete and will be removed in future. The SM5 optimal factor
-matrix data is now stored in the variable
-`org-drill-sm5-optimal-factor-matrix'."
- :group 'org-drill
- :type 'sexp)
-
(persist-defvar org-drill-sm5-optimal-factor-matrix
nil
"DO NOT CHANGE THE VALUE OF THIS VARIABLE.
@@ -420,15 +412,6 @@ algorithm. The matrix is saved at the end of each drill
session.
Over time, values in the matrix will adapt to the individual user's
pace of learning.")
-
-(defun org-drill--transfer-optimal-factor-matrix ()
- (if (and org-drill-optimal-factor-matrix
- (null org-drill-sm5-optimal-factor-matrix))
- (setq org-drill-sm5-optimal-factor-matrix
- org-drill-optimal-factor-matrix)))
-
-(add-hook 'after-init-hook 'org-drill--transfer-optimal-factor-matrix)
-
(defcustom org-drill-sm5-initial-interval
4.0
"In the SM5 algorithm, the initial interval after the first