Visibility cycling: Fix bug when org-cycle-include-plain-lists is t
commite516a3be2250f00efef800f6d9502bc27532f3ae
authorCarsten Dominik <carsten.dominik@gmail.com>
Fri, 8 May 2009 10:51:32 +0000 (8 12:51 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Fri, 8 May 2009 10:51:32 +0000 (8 12:51 +0200)
tree51eacaa449b55279a70702816c14b1211d198e41
parente15ada501b15b5a1eb2cbb1e01f67349cfaea3e4
Visibility cycling: Fix bug when org-cycle-include-plain-lists is t

Peter Westlake writes:

>  On Fri, 8 May 2009 06:24:54 +0200, "Carsten Dominik"
>  <carsten.dominik@gmail.com> said:
>
>  I anyone could make an example that allos me to reproduce this
>  problem, then I might be able to fix it.
>
>  It's trivial:
>
>   * top
>   ** sub 1
>   Set org-cycle-include-plain-lists.
>   Type TAB on this line, and the whole of top gets folded.
>
>   ** sub 2
>   This entry is not needed to reproduce the bug. It just
>   makes it more visible.

There was indeed a bug, I think it is fixed now.
lisp/ChangeLog
lisp/org.el