babel: change single-armed ‘if’ statements to ‘when’
commitd350baf2dbcdd97755d20dc96a8e6c06a6b195bc
authorAaron Ecay <aaronecay@gmail.com>
Sat, 3 Sep 2016 01:45:27 +0000 (3 02:45 +0100)
committerAaron Ecay <aaronecay@gmail.com>
Sat, 3 Sep 2016 01:45:27 +0000 (3 02:45 +0100)
treeb524c4fa8749b749f6394f36e3b9a59b5e2a864d
parent2510f6ec471f775048e27a4bfad16c3b6620e30d
babel: change single-armed ‘if’ statements to ‘when’

* lisp/ob-comint.el (org-babel-comint-eval-invisibly-and-wait-for-file):
* lisp/ob-core.el (org-babel-initiate-session):
(org-babel-hide-result-toggle):
(org-babel-insert-result):
* lisp/ob-eval.el (org-babel--shell-command-on-region):
* lisp/ob-table.el (org-babel-table-truncate-at-newline):
* lisp/ob-tangle.el (org-babel-tangle):
Change `if' without else to `when'.
lisp/ob-comint.el
lisp/ob-core.el
lisp/ob-eval.el
lisp/ob-table.el
lisp/ob-tangle.el