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

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

[nongnu] elpa/org-drill f5b7472de1 204/251: Remove unused variable


From: ELPA Syncer
Subject: [nongnu] elpa/org-drill f5b7472de1 204/251: Remove unused variable
Date: Mon, 17 Jan 2022 18:59:17 -0500 (EST)

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

    Remove unused variable
---
 org-drill.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/org-drill.el b/org-drill.el
index 742ff540ba..c9bc59e8b4 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -536,8 +536,6 @@ exponential effect on inter-repetition spacing."
   :group 'org-drill
   :type 'boolean)
 
-(defvar org-drill-display-answer-hook nil)
-
 (defcustom org-drill-cloze-length-matches-hidden-text-p
   nil
   "If non-nil, when concealing cloze deletions, force the length of
@@ -546,7 +544,8 @@ to preserve the formatting in a displayed table, for 
example."
   :group 'org-drill
   :type 'boolean)
 
-(defvar-local org-drill-response-associated-buffer nil)
+(defvar org-drill-display-answer-hook nil
+  "Hook called when `org-drill' answers are displayed.")
 
 (defclass org-drill-session ()
   ((qualities :initform nil)
@@ -1702,7 +1701,6 @@ Consider reformulating the item to make it easier to 
remember.\n"
         (cb (current-buffer)))
     (with-current-buffer
         (get-buffer-create "*Org-Drill*")
-      (setq org-drill-response-associated-buffer cb)
       (erase-buffer)
       (org-drill-response-mode)
       (set-input-method local-current-input-method)



reply via email to

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