diff options
| author | Phillip Lord <phillip.lord@russet.org.uk> | 2019-07-27 19:04:52 +0100 |
|---|---|---|
| committer | Phillip Lord <phillip.lord@russet.org.uk> | 2019-07-27 19:04:52 +0100 |
| commit | 5155bcb66f1f3c7f98e193099f8fb751d25f3e36 (patch) | |
| tree | bbc51214a7c51f52b3f6ee66281ae5368c230235 | |
| parent | 00f108e5b5abf7211fafea8be06e5d0d100e9d11 (diff) | |
| download | org-drill-5155bcb66f1f3c7f98e193099f8fb751d25f3e36.tar.gz org-drill-5155bcb66f1f3c7f98e193099f8fb751d25f3e36.zip | |
Remove obsolete org-drill-optimal-factor-matrix
| -rw-r--r-- | org-drill.el | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/org-drill.el b/org-drill.el index 922f644..2e19530 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 |
