lang/org: fix some ob packages not loading #2241

This commit is contained in:
Henrik Lissner 2019-12-24 16:37:26 -05:00
parent 4ccfb8cf49
commit 14c87e6943
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -217,7 +217,7 @@ background (and foreground) match the current theme."
(defun +org--babel-lazy-load (lang) (defun +org--babel-lazy-load (lang)
(cl-check-type lang symbol) (cl-check-type lang symbol)
(or (run-hook-with-args-until-success '+org-babel-load-functions lang) (or (run-hook-with-args-until-success '+org-babel-load-functions lang)
(require (intern-soft (format "ob-%s" lang)) nil t) (require (intern (format "ob-%s" lang)) nil t)
(require lang nil t))) (require lang nil t)))
(defadvice! +org--src-lazy-load-library-a (lang) (defadvice! +org--src-lazy-load-library-a (lang)