[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking or
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)] |
Date: |
Tue, 02 Feb 2016 17:58:36 +0100 |
Hello,
Michael Strey <address@hidden> writes:
> When starting an org-drill session, I expect the answer to the question
> to be hidden. Since my last update, I see question and answer at the
> same time.
>
> I tracked the problem down to commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258.
>
> In function org-drill-hide-subheadings-if the following call of
> org-map-entries is
> used:
>
> (org-map-entries
> (lambda ()
> (when (and (not (outline-invisible-p))
> (> (org-current-level) drill-entry-level))
> (when (or (/= (org-current-level) (1+ drill-entry-level))
> (funcall test))
> (hide-subtree))
> (push (point) drill-sections)))
> "" 'tree)
Could you provide an ECM?
Regards,
--
Nicolas Goaziou