Fix regexp for `org-list-send-list'.

* lisp/org-list.el (org-list-send-list): regexp defining the start of
a radio list is now on par with the one used for radio tables.
This commit is contained in:
Nicolas Goaziou 2010-07-12 11:16:42 +02:00 committed by Carsten Dominik
parent eeab263cb8
commit 94689a04b0
2 changed files with 3 additions and 3 deletions

View File

@ -13568,12 +13568,12 @@ parameters.
Here is a La@TeX{} example. Let's say that you have this in your
La@TeX{} file:
@cindex #+ORGLST
@cindex #+ORGLIST
@example
% BEGIN RECEIVE ORGLST to-buy
% END RECEIVE ORGLST to-buy
\begin@{comment@}
#+ORGLST: SEND to-buy orgtbl-to-latex
#+ORGLIST: SEND to-buy orgtbl-to-latex
- a new house
- a new computer
+ a new keyboard

View File

@ -1277,7 +1277,7 @@ this list."
(save-excursion
(org-list-goto-true-beginning)
(beginning-of-line 0)
(unless (looking-at "#\\+ORGLST: *SEND +\\([a-zA-Z0-9_]+\\) +\\([^ \t\r\n]+\\)\\( +.*\\)?")
(unless (looking-at "[ \t]*#\\+ORGLST[: \t][ \t]*SEND[ \t]+\\([^ \t\r\n]+\\)[ \t]+\\([^ \t\r\n]+\\)\\([ \t]+.*\\)?")
(if maybe
(throw 'exit nil)
(error "Don't know how to transform this list"))))