summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrasmus <rasmus@pank.eu>2014-09-30 11:53:36 +0200
committerRasmus <rasmus@gmx.us>2014-10-04 12:10:49 +0200
commitb54ad32a795edf57d84259d453be23aede638c70 (patch)
tree58cfe15975474722d6984cae89db3c66cc0d036f
parent7ad281c2c71033a5f74c03939cc2f1953c174349 (diff)
downloadorg-mode-b54ad32a795edf57d84259d453be23aede638c70.tar.gz
ob-table: Updated documentation.
* ob-table.el (org-sbe): Updated documentation.
-rw-r--r--lisp/ob-table.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ob-table.el b/lisp/ob-table.el
index 6658313..b2a8da6 100644
--- a/lisp/ob-table.el
+++ b/lisp/ob-table.el
@@ -47,7 +47,10 @@
;; | 7 | |
;; | 8 | |
;; | 9 | |
-;; #+TBLFM: $2='(org-sbe 'fibbd (n $1))
+;; #+TBLFM: $2='(org-sbe "fibbd" (n $1))
+
+;; NOTE: The quotation marks around the function name, 'fibbd' here,
+;; are optional.
;;; Code:
(require 'ob-core)
@@ -69,7 +72,7 @@ string of its value.
So this `org-sbe' construct
- (org-sbe 'source-block (n $2) (m 3))
+ (org-sbe \"source-block\" (n $2) (m 3))
is the equivalent of the following source code block:
@@ -77,6 +80,9 @@ is the equivalent of the following source code block:
results
#+end_src
+NOTE: The quotation marks around the function name,
+'source-block', are optional.
+
NOTE: By default, string variable names are interpreted as
references to source-code blocks, to force interpretation of a
cell's value as a string, prefix the identifier a \"$\" (e.g.,