org-list: Fix list type with mixed constructs
commit50a434bb9faa23396c2619031bd07a2fa2d30d0b
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 18 Aug 2012 07:28:27 +0000 (18 09:28 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 18 Aug 2012 07:30:33 +0000 (18 09:30 +0200)
tree059955724b502e35e0ee6da45ffb234829dc87c2
parent8ab1d76529093085c6f8a96870527ed0cf0f6231
org-list: Fix list type with mixed constructs

* lisp/org-list.el (org-list-automatic-rules): Remove `bullet' rule,
  which is now hard-coded.
(org-cycle-list-bullet): Hard code `bullet' rule.
(org-list-get-list-type): Make sure a list with numbered bullets
cannot have `descriptive' type.
* testing/lisp/test-org-list.el: Add tests.
lisp/org-list.el
testing/lisp/test-org-list.el