forked from mirrors/org-mode
org-list: fix parsing of counters
* lisp/org-list.el (org-list-parse-list): fixed regexp.
This commit is contained in:
parent
1052f07ecf
commit
f8c627a44b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue