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:
parent
4b2dbe42a5
commit
5d4dec996f
1 changed files with 5 additions and 1 deletions
|
@ -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")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue