[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill b0ee414c16 177/251: Fix call to removed variable
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill b0ee414c16 177/251: Fix call to removed variable |
Date: |
Mon, 17 Jan 2022 18:59:14 -0500 (EST) |
branch: elpa/org-drill
commit b0ee414c16ca68aa633c4ae10ec4df4384bbdedb
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Fix call to removed variable
---
org-drill.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index dc5cf44ff1..bb437b23d9 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -1837,7 +1837,7 @@ Consider reformulating the item to make it easier to
remember.\n"
(org-drill-presentation-timer-cancel)
(oref session exit-kind)))))
-(cl-defun org-drill-presentation-prompt-for-string (prompt)
+(cl-defun org-drill-presentation-prompt-for-string (session prompt)
"Create a card prompt with a timer and user-specified menu.
Arguments:
@@ -1862,7 +1862,8 @@ You seem to be having a lot of trouble memorising this
item.
Consider reformulating the item to make it easier to remember.\n"
'face '(:foreground "red"))
full-prompt)))
- (setq drill-typed-answer (read-string full-prompt nil nil nil t))))
+ (setf (oref session drill-typed-answer)
+ (read-string full-prompt nil nil nil t))))
(defun org-pos-in-regexp (pos regexp &optional nlines)
@@ -2127,7 +2128,7 @@ Note: does not actually alter the item."
(funcall reschedule-fn session))))))
-(defun org-drill-present-simple-card-with-typed-answer ()
+(defun org-drill-present-simple-card-with-typed-answer (session)
(with-hidden-comments
(with-hidden-cloze-hints
(with-hidden-cloze-text
@@ -2136,7 +2137,7 @@ Note: does not actually alter the item."
(ignore-errors
(org-display-inline-images t))
(org-cycle-hide-drawers 'all)
- (prog1 (org-drill-presentation-prompt-for-string nil)
+ (prog1 (org-drill-presentation-prompt-for-string session nil)
(org-drill-hide-subheadings-if 'org-drill-entry-p))))))
- [nongnu] elpa/org-drill 35c1ce3499 248/251: Merge branch 'branweb/org-mode-version' into 'master', (continued)
- [nongnu] elpa/org-drill 35c1ce3499 248/251: Merge branch 'branweb/org-mode-version' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 7dece4a5e4 229/251: Fix org-get-tags compatability, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0e0f7bcddd 242/251: Bump org-mode version to 9.3, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill e55415221e 249/251: Fix autoloads, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 78d3472033 246/251: add cram-mode test, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b431634c3e 018/251: Bug fix: when drill sessions span more than one file, display items in the other files correctly., ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill eb370c7405 077/251: - Moved a line with side effects to earlier in the file, possibly fixing an, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0184220926 150/251: Replace drill-typed-answer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b7b295c80b 122/251: Update gitignore, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 2832be1ad4 153/251: Replace more non-namespaced commands, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b0ee414c16 177/251: Fix call to removed variable,
ELPA Syncer <=
- [nongnu] elpa/org-drill 90d777bd55 183/251: Fix more byte compile errors, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 3c356dfc5a 179/251: Fix robot testing and reference to drill-typed-answer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 8c36f488e2 162/251: Spanish card fixes and full test set, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 29b4faa174 190/251: Fix compat call, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill fdbbccad8c 218/251: Merge branch 'patch-2' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 4daff57b81 161/251: Replace dynamically scoped end-pos, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 04283a8a6c 228/251: Remove obsolete org-drill-optimal-factor-matrix, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b61865f701 219/251: Merge branch 'patch-3' into 'master', ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 44f66af8f7 230/251: fix argument passed to now obsoleted org-toggle-latex-fragment, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a51c152bdb 227/251: Update documentation, ELPA Syncer, 2022/01/17