org-list: fix bug with structure and blocks/drawers indentation
commitfc91845fa58b3ff0bd76095cf0f87bb17dde516f
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 24 Apr 2011 09:23:01 +0000 (24 11:23 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 24 Apr 2011 09:23:01 +0000 (24 11:23 +0200)
tree60c27013b0194f702feb2199d680a74614e880ec
parenta285debf5c3cefcd65db4ca2bc37b2bca9ff555b
org-list: fix bug with structure and blocks/drawers indentation

* lisp/org-list.el (org-list-struct): when walking down the list, the
  function would not pay attention to drawers or blocks indentation.
  Thus, such constructs couldn't consistently end an item or a list.
  This patch ensures line indentation is stored (if applicable) before
  skipping them. Also fixed doc-string and comments.
lisp/org-list.el