diff options
| author | Phillip Lord <phillip.lord@russet.org.uk> | 2019-07-08 22:23:13 +0100 |
|---|---|---|
| committer | Phillip Lord <phillip.lord@russet.org.uk> | 2019-07-08 22:23:13 +0100 |
| commit | f5b7472de13637da118f42da9a9a7cb122852070 (patch) | |
| tree | 00d28196756704e6b33f83f44d50a14a3125f7e0 | |
| parent | b0a376b3edf9e53ef39969b77fad39160143a1dd (diff) | |
| download | org-drill-f5b7472de13637da118f42da9a9a7cb122852070.tar.gz org-drill-f5b7472de13637da118f42da9a9a7cb122852070.zip | |
Remove unused variable
| -rw-r--r-- | org-drill.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/org-drill.el b/org-drill.el index 742ff54..c9bc59e 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) |
