lang/org: don't complain about missing ob-X upon running src blocks
This commit is contained in:
parent
422c6d9c12
commit
0d04afa63a
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ libraries (ob-*.el) that don't match the name of the language.")
|
|||
(require
|
||||
(intern (format "ob-%s"
|
||||
(or (cdr (assoc (downcase language) +org-babel-mode-alist))
|
||||
language)))))
|
||||
language)))
|
||||
nil t))
|
||||
(add-to-list 'org-babel-load-languages (cons lang-sym t)))
|
||||
(apply orig-fn args)))
|
||||
(advice-add #'org-babel-execute-src-block :around #'+org*babel-execute-src-block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue