Browse Source

still execute code block even if :results none

* lisp/ob.el (org-babel-execute-src-block): Fixed bug introduced in
  d4b739f.
Eric Schulte 5 years ago
parent
commit
c2223c8979
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lisp/ob.el

+ 3 - 1
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)