org-list: fix parsing of counters

* lisp/org-list.el (org-list-parse-list): fixed regexp.
This commit is contained in:
Nicolas Goaziou 2011-03-14 23:36:19 +01:00
parent 1052f07ecf
commit f8c627a44b
1 changed files with 1 additions and 1 deletions

View File

@ -2663,7 +2663,7 @@ Point is left at list end."
(lambda (e)
(let ((start (save-excursion
(goto-char e)
(looking-at "[ \t]*\\S-+[ \t]+\\(\\[@[:[:alnum:]]+\\][ \t]*\\)?")
(looking-at "[ \t]*\\S-+\\([ \t]+\\[@\\(start:\\)?\\([0-9]+\\|[a-zA-Z]\\)\\]\\)?[ \t]*")
(match-end 0)))
;; Get counter number. For alphabetic counter, get
;; its position in the alphabet.