Browse Source

org-list: fix parsing of counters

* lisp/org-list.el (org-list-parse-list): fixed regexp.
Nicolas Goaziou 14 years ago
parent
commit
f8c627a44b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-list.el

+ 1 - 1
lisp/org-list.el

@@ -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.