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

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

[nongnu] elpa/org-drill 04283a8a6c 228/251: Remove obsolete org-drill-op


From: ELPA Syncer
Subject: [nongnu] elpa/org-drill 04283a8a6c 228/251: Remove obsolete org-drill-optimal-factor-matrix
Date: Mon, 17 Jan 2022 18:59:21 -0500 (EST)

branch: elpa/org-drill
commit 04283a8a6c78b95fe316109dad3c7bde9b81ebfb
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>

    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



reply via email to

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