summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <eric.schulte@gmx.com>2012-11-17 17:54:01 -0700
committerEric Schulte <eric.schulte@gmx.com>2012-11-17 17:54:08 -0700
commitc2223c8979c5510e01c0dd6cc2378b71484828fc (patch)
treef1a8c2f37d65f2f21fab2368dbbf473cd4d5bc2a
parent626786c6eb52dc4106631b38b956f939f7df8d8a (diff)
downloadorg-mode-c2223c8979c5510e01c0dd6cc2378b71484828fc.tar.gz
still execute code block even if :results none
* lisp/ob.el (org-babel-execute-src-block): Fixed bug introduced in d4b739f.
-rw-r--r--lisp/ob.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index bf4b455..84b1180 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -563,7 +563,9 @@ block."
(capitalize lang)
(if (nth 4 info) (format " (%s)" (nth 4 info)) ""))
(if (member "none" result-params)
- (message "result silenced")
+ (progn
+ (funcall cmd body params)
+ (message "result silenced"))
(setq result
((lambda (result)
(if (and (eq (cdr (assoc :result-type params)) 'value)