ob-core.el (org-babel-execute-src-block): fixes for :results none
commit9969d3feeb1b29bf6f9acfaf83abafcf9997c230
authorAaron Ecay <aaronecay@gmail.com>
Mon, 22 Apr 2013 03:35:47 +0000 (21 23:35 -0400)
committerAaron Ecay <aaronecay@gmail.com>
Mon, 22 Apr 2013 03:45:27 +0000 (21 23:45 -0400)
treecdcc42baa5906947e0ea987dd8096f2771ff4b77
parent8993a2f7a96fa6aaf0129cec622d48deed5ac7f1
ob-core.el (org-babel-execute-src-block): fixes for :results none

* lisp/ob-core.el (org-babel-execute-src-block): Return nil in case of
`:results none'.  Also run `org-babel-after-execute-hook' in this
circumstance.

Previously, the code returned the string "results silenced" in the case
of =:results none=, as this is the return value of the call to
`message'; additionally, the after-execute hook was not being run.
lisp/ob-core.el