diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-03-14 23:36:19 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-03-14 23:36:19 +0100 |
commit | f8c627a44b65b081b1ca0668081dc7fefd70c002 (patch) | |
tree | 42a01463478f994c870779f27f617ea5d17062c3 | |
parent | 1052f07ecf3cae698e905fa7d6f98a5347ed12cb (diff) | |
download | org-mode-f8c627a44b65b081b1ca0668081dc7fefd70c002.tar.gz |
org-list: fix parsing of counters
* lisp/org-list.el (org-list-parse-list): fixed regexp.
-rw-r--r-- | lisp/org-list.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el index 4b50910..aea8634 100644 --- a/lisp/org-list.el +++ b/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. |