diff options
author | Bastien Guerry <bzg@altern.org> | 2013-04-09 22:09:00 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-09 22:09:00 +0200 |
commit | 01d6b355d8b7bd356ec894557e879cd1551eda9d (patch) | |
tree | 3bbd84988c329a2875c4dd32ba2db827c99c5c8f | |
parent | da549f90b1643c86b71b720aaa6cb8973a677a42 (diff) | |
download | org-mode-01d6b355d8b7bd356ec894557e879cd1551eda9d.tar.gz |
Use #+NAME instead of #+TBLNAME
* org-table.el (org-table-get-remote-range): Fix docstring:
use #+NAME instead of #+TBLNAME.
* ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
-rw-r--r-- | lisp/ob-ref.el | 2 | ||||
-rw-r--r-- | lisp/org-table.el | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ob-ref.el b/lisp/ob-ref.el index 7b92936..a2814ea 100644 --- a/lisp/ob-ref.el +++ b/lisp/ob-ref.el @@ -40,7 +40,7 @@ ;; So an example of a simple src block referencing table data in the ;; same file would be -;; #+TBLNAME: sandbox +;; #+NAME: sandbox ;; | 1 | 2 | 3 | ;; | 4 | org-babel | 6 | ;; diff --git a/lisp/org-table.el b/lisp/org-table.el index 7122c87..3d5d888 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -4966,11 +4966,11 @@ it here: http://gnuvola.org/software/j/aa2u/ascii-art-to-unicode.el." (defun org-table-get-remote-range (name-or-id form) "Get a field value or a list of values in a range from table at ID. -NAME-OR-ID may be the name of a table in the current file as set by -a \"#+TBLNAME:\" directive. The first table following this line +NAME-OR-ID may be the name of a table in the current file as set +by a \"#+NAME:\" directive. The first table following this line will then be used. Alternatively, it may be an ID referring to -any entry, also in a different file. In this case, the first table -in that entry will be referenced. +any entry, also in a different file. In this case, the first +table in that entry will be referenced. FORM is a field or range descriptor like \"@2$3\" or \"B3\" or \"@I$2..@II$2\". All the references must be absolute, not relative. |