[Org] Move (small) Babel config to init.el
This commit is contained in:
parent
d82d1550c6
commit
f510d73ae7
11
init.el
11
init.el
|
@ -658,7 +658,8 @@ _h_ _l_ _o_k _y_ank
|
|||
db/org-agenda-list-deadlines
|
||||
db/org-agenda-skip-tag
|
||||
db/cmp-date-property
|
||||
hydra-org-agenda-view/body))
|
||||
hydra-org-agenda-view/body
|
||||
org-babel-execute:hy))
|
||||
|
||||
(use-package org
|
||||
:commands (org-capture
|
||||
|
@ -1020,6 +1021,14 @@ _h_ _l_ _o_k _y_ank
|
|||
|
||||
(add-hook 'org-agenda-mode-hook #'hl-line-mode 'append)))
|
||||
|
||||
;; Babel
|
||||
|
||||
(use-package ob-core
|
||||
:defer t
|
||||
:init (setq org-export-use-babel nil)
|
||||
:config (setf (alist-get :results org-babel-default-header-args)
|
||||
"output code replace"))
|
||||
|
||||
(use-package ox-icalendar
|
||||
:commands (org-icalendar-combine-agenda-files)
|
||||
:init (setq org-icalendar-include-body nil
|
||||
|
|
|
@ -482,12 +482,6 @@ Current Task: %`org-clock-current-task; "
|
|||
|
||||
;;; Babel
|
||||
|
||||
(use-package ob-core
|
||||
:defer t
|
||||
:init (setq org-export-use-babel nil)
|
||||
:config (setf (alist-get :results org-babel-default-header-args)
|
||||
"output code replace"))
|
||||
|
||||
(defun org-babel-execute:hy (body params)
|
||||
;; http://kitchingroup.cheme.cmu.edu/blog/2016/03/30/OMG-A-Lisp-that-runs-python/
|
||||
"Execute hy code BODY with parameters PARAMS."
|
||||
|
|
Loading…
Reference in New Issue