diff options
author | Leon Rische <leon.rische@me.com> | 2020-01-25 14:57:39 +0100 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-01-25 14:57:39 +0100 |
commit | 9da234cb46937a42563c8cf5827ad39af6de4b52 (patch) | |
tree | 557ca9858a7c326861f07c48f161de48dd3a729d /org-fc-type-cloze.el | |
parent | 45d6c81912e40bc4285c6ee8bce50d4d093aab18 (diff) |
Update for org 9.3
Diffstat (limited to 'org-fc-type-cloze.el')
-rw-r--r-- | org-fc-type-cloze.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org-fc-type-cloze.el b/org-fc-type-cloze.el index 53dd744..de32204 100644 --- a/org-fc-type-cloze.el +++ b/org-fc-type-cloze.el @@ -90,7 +90,7 @@ subtype." ;; unnecessarily complicated. I couldn't get latex / org text emphasis ;; to work otherwise. If the hole has no hint, we can't use any ;; properties of match 2. -(defun org-fc-type-cloze--overlay-current () +(defun org-fc-type-cloze--overlay-current (hole-beg hole-end) "Generate a list of overlays to display the hole currently being reviewed." (if (match-beginning 2) @@ -131,7 +131,7 @@ subtype." (hole-beg (match-beginning 0)) (hole-end (match-end 0))) (if (= hole id) - (progn (setq overlays (org-fc-type-cloze--overlay-current)) + (progn (setq overlays (org-fc-type-cloze--overlay-current hole-beg hole-end)) (setq seen-current t)) (case type ('enumeration |