[Org] Some minor modifications in babel configuration

This commit is contained in:
Daniel - 2018-09-09 11:43:24 +02:00
parent de1b42a34d
commit 7b611873a1
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 8 additions and 2 deletions

View File

@ -864,8 +864,9 @@ This is done only if the value of this variable is not null."
;;; Exporting
(setq org-export-use-babel nil
org-export-with-broken-links 'mark
(setq org-export-use-babel nil)
(setq org-export-with-broken-links 'mark
org-export-with-sub-superscripts '{}
org-export-with-author nil
org-export-with-date nil
@ -985,6 +986,11 @@ Current Task: %`org-clock-current-task; "
;;; Babel
(use-package ob-core
:defer t
: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."