Variable: org-babel-shell-results-defaults-to-output
org-babel-shell-results-defaults-to-output is a customizable variable
defined in ob-shell.el.gz.
Value
t
Documentation
Let shell execution defaults to ":results output".
When set to t, use ":results output" when no :results setting is set. This is especially useful for inline source blocks.
When set to nil, stick to the convention of using :results value as the default setting when no :results is set, the "value" of a shell execution being its exit code.
This variable was added, or its default value changed, in Org version
9.4.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-shell.el.gz
(defcustom org-babel-shell-results-defaults-to-output t
"Let shell execution defaults to \":results output\".
When set to t, use \":results output\" when no :results setting
is set. This is especially useful for inline source blocks.
When set to nil, stick to the convention of using :results value
as the default setting when no :results is set, the \"value\" of
a shell execution being its exit code."
:group 'org-babel
:type 'boolean
:package-version '(Org . "9.4"))