diff options
author | Eric Schulte <eric.schulte@gmx.com> | 2012-09-05 12:02:48 -0600 |
---|---|---|
committer | Eric Schulte <eric.schulte@gmx.com> | 2012-09-05 12:02:48 -0600 |
commit | 0a6165a5551549f9a1925f8766c0f162b091c408 (patch) | |
tree | a9dfffe130d22c80835db0c87403f83fdf6a2dea | |
parent | c276eeebeecba23913547f62cf4b8122f0e8efa9 (diff) | |
download | org-mode-0a6165a5551549f9a1925f8766c0f162b091c408.tar.gz |
widen buffer restrictions when inserting results
-rw-r--r-- | lisp/ob.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1890,6 +1890,7 @@ code ---- the results are extracted in the syntax of the source inside of a #+BEGIN_SRC block with the source-code language set appropriately. Note this relies on the optional LANG argument." + (save-restriction (widen) (if (stringp result) (progn (setq result (org-no-properties result)) @@ -2010,7 +2011,7 @@ code ---- the results are extracted in the syntax of the source (if (member "value" result-params) (message "Code block returned no value.") (message "Code block produced no output.")) - (message "Code block evaluation complete.")))) + (message "Code block evaluation complete."))))) (defun org-babel-remove-result (&optional info) "Remove the result of the current source block." |