lang/org: refactor & reformat
To ensure that users' after! blocks have precendence over org packages in sub-modules.
This commit is contained in:
parent
52dc5001bc
commit
92dd66f736
2 changed files with 12 additions and 17 deletions
|
@ -111,9 +111,6 @@
|
|||
if (funcall fn (eq (car p) key))
|
||||
collect p))
|
||||
|
||||
(when (featurep! +ipython)
|
||||
(load! "contrib/ipython"))
|
||||
|
||||
;; Fixes for various babel plugins
|
||||
(setq org-babel-js-function-wrapper "console.log(require('util').inspect(function(){\n%s\n}()));"))
|
||||
|
||||
|
@ -836,13 +833,14 @@ compelling reason, so..."
|
|||
(message "`org' was already loaded by the time lang/org loaded, this may cause issues")
|
||||
(run-hooks 'org-load-hook))
|
||||
|
||||
:config
|
||||
(add-hook 'org-open-at-point-functions #'doom|set-jump)
|
||||
|
||||
;;; Custom org modules
|
||||
(if (featurep! +dragndrop) (load! "contrib/dragndrop"))
|
||||
(if (featurep! +ipython) (load! "contrib/ipython"))
|
||||
(if (featurep! +present) (load! "contrib/present"))
|
||||
|
||||
:config
|
||||
(add-hook 'org-open-at-point-functions #'doom|set-jump)
|
||||
|
||||
;;; Packages
|
||||
(after! toc-org
|
||||
(setq toc-org-hrefify-default "gh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue