summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-09-26 09:38:49 +0200
committerBastien Guerry <bzg@altern.org>2012-09-26 09:38:49 +0200
commit203e50b89bbc0ebc2b11bce36347b246440ee486 (patch)
treee1e46ba0111426990b1926fd50d8adb42d5998a3
parente4a01d0dde53591ee017bba7c66c03b9cd32ba5e (diff)
downloadorg-mode-203e50b89bbc0ebc2b11bce36347b246440ee486.tar.gz
* ob.el (org-babel-insert-result): Remove support for ":results org"
* ob.el (org-babel-insert-result): Remove support for ":results org". The insertion of #+BEGIN_ORG was confusing. You can either use ":results raw" to insert the raw results or ":results drawer" to wrap them into a :RESULTS: ... :END: drawer.
-rw-r--r--lisp/ob.el11
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 025294a..28e5ad7 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -1850,7 +1850,7 @@ If the path of the link is a file path it is expanded using
By default RESULT is inserted after the end of the
current source block. With optional argument RESULT-PARAMS
controls insertion of results in the org-mode file.
-RESULT-PARAMS can take the following values...
+RESULT-PARAMS can take the following values:
replace - (default option) insert results after the source block
replacing any previously inserted results
@@ -1870,13 +1870,6 @@ drawer -- results are added directly to the Org-mode file as with
\"raw\", but are wrapped in a RESULTS drawer, allowing
them to later be replaced or removed automatically.
-org ----- similar in effect to raw, only the results are wrapped
- in an org code block. Similar to the raw option, on
- export the results will be interpreted as org-formatted
- text, however by wrapping the results in an org code
- block they can be replaced upon re-execution of the
- code block.
-
html ---- results are added inside of a #+BEGIN_HTML block. This
is a good option if you code block will output html
formatted text.
@@ -1990,8 +1983,6 @@ code ---- the results are extracted in the syntax of the source
((member "code" result-params)
(funcall wrap (format "#+BEGIN_SRC %s%s" (or lang "none") results-switches)
"#+END_SRC"))
- ((member "org" result-params)
- (funcall wrap "#+BEGIN_ORG" "#+END_ORG"))
((member "raw" result-params)
(goto-char beg) (if (org-at-table-p) (org-cycle)))
((or (member "drawer" result-params)