lang/org: noop org-babel-do-load-languages
It's redundant with Doom's lazy loader. Remove +org-init-babel-lazy-loader-h from org-load-hook if you want to use it.
This commit is contained in:
parent
087b7a2d9f
commit
3b2a37d9a1
1 changed files with 7 additions and 1 deletions
|
@ -238,7 +238,13 @@ background (and foreground) match the current theme."
|
||||||
;; child process), so we only need to make sure it's loaded.
|
;; child process), so we only need to make sure it's loaded.
|
||||||
(require 'ob-async nil t))
|
(require 'ob-async nil t))
|
||||||
(add-to-list 'org-babel-load-languages (cons lang t)))
|
(add-to-list 'org-babel-load-languages (cons lang t)))
|
||||||
t)))
|
t))
|
||||||
|
|
||||||
|
(defadvice! +org--noop-org-babel-do-load-languages-a (&rest _)
|
||||||
|
:override #'org-babel-do-load-languages
|
||||||
|
(message
|
||||||
|
(concat "`org-babel-do-load-languages' is redundant with Doom's lazy loading mechanism for babel "
|
||||||
|
"packages. There is no need to use it, so it has been disabled"))))
|
||||||
|
|
||||||
|
|
||||||
(defun +org-init-capture-defaults-h ()
|
(defun +org-init-capture-defaults-h ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue