[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-drill b2b7c3f625 175/251: Remove dynamic scoping
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-drill b2b7c3f625 175/251: Remove dynamic scoping |
Date: |
Mon, 17 Jan 2022 18:59:13 -0500 (EST) |
branch: elpa/org-drill
commit b2b7c3f625436367ca5a0cdec6628af16a60ad26
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Remove dynamic scoping
---
org-drill.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index 6322b13075..35439e89af 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -2479,7 +2479,6 @@ See `org-drill' for more details."
;; (org-back-to-heading))
(let ((card-type (org-entry-get (point) "DRILL_CARD_TYPE" t))
(answer-fn 'org-drill-present-default-answer)
- (present-empty-cards nil)
(cont nil)
;; fontification functions in `outline-view-change-hook' can cause big
;; slowdowns, so we temporarily bind this variable to nil here.
@@ -2496,7 +2495,6 @@ See `org-drill' for more details."
(if (listp presentation-fn)
(cl-psetq answer-fn (or (cl-second presentation-fn)
'org-drill-present-default-answer)
- present-empty-cards (cl-third presentation-fn)
presentation-fn (cl-first presentation-fn)))
(let* ((tags (org-get-tags))
(rtn
@@ -2509,7 +2507,7 @@ See `org-drill' for more details."
(t
(mapc
(apply-partially 'org-drill-card-tag-caller 1)
- (org-get-tags))
+ tags)
(setq cont (funcall presentation-fn session))
(cond
((not cont)
@@ -2523,11 +2521,11 @@ See `org-drill' for more details."
(save-excursion
(mapc
(apply-partially 'org-drill-card-tag-caller 2)
- (org-get-tags))
+ tags)
(funcall answer-fn session complete-func))))))))
(mapc
(apply-partially 'org-drill-card-tag-caller 3)
- (org-get-tags))
+ tags)
(cl-incf org-drill-cards-in-this-emacs)
(org-remove-latex-fragment-image-overlays)
rtn))))))
- [nongnu] elpa/org-drill 02b507b839 151/251: Add leitner robot test and fix, (continued)
- [nongnu] elpa/org-drill 02b507b839 151/251: Add leitner robot test and fix, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 6533b73246 164/251: Support changing small sleep on command line, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a949ece724 165/251: Remove more dynamic scoping errors, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 82c2ec8b1f 189/251: Replace call to gensym with cl-gensym, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 4300ef9d4c 168/251: Fix broken form in org-drill-resume, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 58b353993c 158/251: Complete namespace cleanliness, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 77480ae0a2 181/251: Remove arguments from presentation-prompt, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 5a405f5d08 188/251: Fix session call in org-drill-sm-or-leitner, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill c44ca7447b 199/251: Document explainer, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 5b6bb5445c 157/251: Fix broken test, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill b2b7c3f625 175/251: Remove dynamic scoping,
ELPA Syncer <=
- [nongnu] elpa/org-drill 7a7f9370fa 159/251: Fix byte compilation errors, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d3695d66f3 173/251: Fix call to session, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a91c6101b9 201/251: Update variable documentation, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 037b4bfe84 223/251: Fix copyright line, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 9e3a7952a1 205/251: Remove org-drill-free-marker, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 4c114489e6 240/251: Release v2.7.0, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill a222b4dfb4 022/251: Many changes:, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill d9488f0f65 031/251: Added tag 2.2 for changeset d9430f6647c9, ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill f7e2975556 034/251: - Speed up stripping scheduling data if scope is the current buffer (default)., ELPA Syncer, 2022/01/17
- [nongnu] elpa/org-drill 0eca79a796 036/251: Tiny fix to org-drill-map-entries., ELPA Syncer, 2022/01/17