Browse Source

library-of-babel.org: Add "Default result for block execution"

Bastien 2 months ago
parent
commit
3b5982cb1b
1 changed files with 11 additions and 0 deletions
  1. 11 0
      library-of-babel.org

+ 11 - 0
library-of-babel.org

@@ -581,3 +581,14 @@ Fraga.  It was modified slightly by Tom Dye.
 
 - ob-oz.el, by Torsten Anders and Eric Schulte
 - ob-fomus.el, by Torsten Anders
+
+* Default result for block execution
+
+When a source code block has no =:result= parameter, the default
+behavior is to use the /functional value/ of the execution as the
+result.  However, some languages use an option to deviate from
+this default behavior.  Below is a list of such options:
+
+| Org Babel file | Default result | Option                                     |
+|----------------+----------------+--------------------------------------------|
+| ob-shell.el    | output         | org-babel-shell-results-defaults-to-output |