org: let ob-async ignore ob-ipython

ipython implements its own `async` keyword. As ob-async is loaded now by
default, we need to explicitly tell ob-async not to touch ob-ipython blocks.
This commit is contained in:
UndeadKernel 2019-01-09 14:06:02 +01:00
parent 4b2dbe42a5
commit 5d4dec996f

View file

@ -93,4 +93,8 @@ the first function to return non-nil.")
;; retina resolution image hack
(when (eq window-system 'ns)
(advice-add 'ob-ipython--write-base64-string :around #'+org*ob-ipython--write-base64-string)))
(advice-add 'ob-ipython--write-base64-string :around #'+org*ob-ipython--write-base64-string))
;; ipython has its own async keyword, disable ipython in ob-async.
(after! ob-async
(add-to-list 'ob-async-no-async-languages-alist "ipython")))