0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 00:02:51 +00:00

Plain lists: Fix regular expression.

There was a bug in a regular expression, visible when
`org-list-two-spaces-after-bullet-regexp' is set to ?)
This commit is contained in:
Carsten Dominik 2009-04-29 21:21:36 +02:00
parent 4b6f0cf77b
commit 0fb28c3405
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
* org-list.el (org-at-item-p): Fix regular expression.
2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-end-of-subtree): Improve speed.

View file

@ -160,7 +160,7 @@ list, obtained by prompting the user."
(cond
((eq llt t) "\\([ \t]*\\([-+]\\|\\([0-9]+[.)]\\)\\)\\|[ \t]+\\*\\)\\( \\|$\\)")
((= llt ?.) "\\([ \t]*\\([-+]\\|\\([0-9]+\\.\\)\\)\\|[ \t]+\\*\\)\\( \\|$\\)")
((= llt ?\)) "\\([ \t]*\\([-+]\\|\\([0-9]+))\\)\\|[ \t]+\\*\\)\\( \\|$\\)")
((= llt ?\)) "\\([ \t]*\\([-+]\\|\\([0-9]+)\\)\\)\\|[ \t]+\\*\\)\\( \\|$\\)")
(t (error "Invalid value of `org-plain-list-ordered-item-terminator'")))))))
(defun org-at-item-bullet-p ()