summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-09-14 17:39:19 -0400
committerJakob L. Kreuze2019-09-14 17:39:19 -0400
commitf304a8abbb94e0d5f004dc56e459e8befacf3630 (patch)
treea5b57e46dbbe40f310eb2d6c5f3e53b9973162d7 /jakob.org
parentda6a8b56912eec029967beb3e372a13876c3b774 (diff)
Use a maintained version of org-drill.
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org17
1 files changed, 8 insertions, 9 deletions
diff --git a/jakob.org b/jakob.org
index 9130c48..62b215d 100644
--- a/jakob.org
+++ b/jakob.org
@@ -1448,17 +1448,16 @@ Set up a keybinding for getting quickly starting a drill session.
(org-drill)))))
#+END_SRC
-**** Workaround
-
-As described [[https://bitbucket.org/eeeickythump/org-drill/issues/62/org-drill-doesnt-work-with-org-mode-92][here]], the upstream version of org-drill doesn't work with the
-latest version of Org. Until this is fixed, I'm using someone else's patched
-version of =org-drill=.
+=org-drill= in upstream org is unmaintained, and as described [[https://bitbucket.org/eeeickythump/org-drill/issues/62/org-drill-doesnt-work-with-org-mode-92][here]], no longer
+works with the latest version of Org. I'm using [[https://bitbucket.org/eeeickythump/org-drill/issues/63/maintainership][this fork]].
#+BEGIN_SRC elisp
-(straight-use-package
- '(org-drill :type git :host github :repo "hakanserce/org-drill"))
-(require 'cl)
-(require 'org-drill)
+(use-package org-drill
+ :straight (org-drill :type git :host github :repo "hakanserce/org-drill")
+ :init
+ (with-eval-after-load 'org-drill
+ (defun org-drill--show-latex-fragments ()
+ (org-latex-preview '(16)))))
#+END_SRC
*** Export

© 2015 - 2026 Jakob L. Kreuze