Correctly handle bullets with two spaces.
commit66bf386e259a364bcca68174047d67fe7d046709
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 27 Jul 2010 18:52:30 +0000 (27 20:52 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 1 Sep 2010 17:05:50 +0000 (1 19:05 +0200)
tree1603cd8bc61a9a5bf1a6026d5ca7551ea0c657d4
parentcbc337f28515ee0bc27584a818a48f5284af8293
Correctly handle bullets with two spaces.

* org-list.el (org-list-bullet-string): New function returning bullet
  concatenated with an appropriate number of white spaces.
* org-list.el (org-list-insert-item-generic): Insert the right bullet,
  with help of `org-list-bullet-string'.
* org-list.el (org-indent-item-tree): Use `org-list-bullet-string'.
* org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
* org-list.el (org-toggle-checkbox): send an error when
  `org-toggle-checkbox' is trying to insert a checkbox at a
  description item.
* org-list.el (org-item-re): modified regexp so it can catch correct
  number of white space before item body.
* org-list.el (org-list-at-regexp-after-bullet-p): Take into
  consideration new `org-item-re'.
lisp/org-list.el