Hi,
Cf. Charles Berry's post to a similarly named post there's a bug in
the documentation of org-sbe. This patch corrects it.
Thanks,
Rasmus
--
Together we'll stand, divided we'll fall
>From 0f320a044cef4974be40b351da72729045a56ca6 Mon Sep 17 00:00:00 2001
From: rasmus
Date: Tue, 30 Sep 2014 11:53:36 +0200
Subject: [PATCH] ob-table: Updated documentation.
* ob-table.el (org-sbe): Updated documentation.
---
lisp/ob-table.el | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lisp/ob-table.el b/lisp/ob-table.el
index 6658313..46be551 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 quotes around the function name, 'fibbd' in this case,
+;; 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 quotes around 'source-block', the function name, 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.,
--
2.1.1