Allow also "#+NAME: table" for remote references
commit92f3729857ac7577be442d46f663f615d95bcad0
authorMichael Brand <michael.ch.brand@gmail.com>
Fri, 26 Apr 2013 15:07:55 +0000 (26 17:07 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 26 Apr 2013 21:17:48 +0000 (26 23:17 +0200)
treeb149b8143cecc1d82b39274261264a22ddb004df
parente6ab7869f760872708525d7510ddc861616c829a
Allow also "#+NAME: table" for remote references

* lisp/org-table.el (org-table-get-remote-range): Extend regexp to
match "#+NAME: table" additionally to "#+TBLNAME: table".
* testing/lisp/test-org-table.el: Add test.
* testing/org-test.el (org-test-table-target-expect): Allow several
tables to support testing remote references in the last table.
lisp/org-table.el
testing/lisp/test-org-table.el
testing/org-test.el