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:
parent
4b6f0cf77b
commit
0fb28c3405
|
@ -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.
|
||||
|
|
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue