On 2020-09-26, 08:31 +0200, Bastien <b...@gnu.org> wrote: > Bastien <b...@gnu.org> writes: > >> Ihor Radchenko <yanta...@gmail.com> writes: >> >>> The attached patch seems to fix the issue. >> >> Applied as 979e82fc3, thanks a lot! > > Also, marking the initial bug report as closed, thanks again.
Sorry to re-open this issue. The following change extends Ihor's patch to also cover checkbox statistics. Seems to work just fine on my end. Thanks again! #+begin_src diff lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 425e9391b..23c86ba0c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5684,7 +5684,7 @@ needs to be inserted at a specific position in the font-lock sequence.") 1 'org-checkbox prepend) (when (cdr (assq 'checkbox org-list-automatic-rules)) '("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]" - (0 (org-get-checkbox-statistics-face) t))) + (0 (org-get-checkbox-statistics-face) prepend))) ;; Description list items '("^[ \t]*[-+*][ \t]+\\(.*?[ \t]+::\\)\\([ \t]+\\|$\\)" 1 'org-list-dt prepend) #+end_src -- Protesilaos Stavrou protesilaos.com