|
|
@ -311,6 +311,33 @@ Some windows specific stuff |
|
|
|
|
|
|
|
(setq org-src-window-setup 'current-window)) ;; C-c ' opens in current window |
|
|
|
#+END_SRC |
|
|
|
** languages |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(org-babel-do-load-languages |
|
|
|
'org-babel-load-languages |
|
|
|
'((emacs-lisp . t) |
|
|
|
(gnuplot . t) |
|
|
|
(js . t) |
|
|
|
(latex . t) |
|
|
|
(lisp . t) |
|
|
|
(python . t) |
|
|
|
(shell . t) |
|
|
|
(sqlite . t) |
|
|
|
(org . t) |
|
|
|
(R . t) |
|
|
|
(scheme . t) |
|
|
|
)) |
|
|
|
|
|
|
|
(defun me--org-confirm-babel-evaluate (lang body) |
|
|
|
"Do not confirm evaluation for these languages." |
|
|
|
(not (or (string= lang "python") |
|
|
|
(string= lang "ipython") |
|
|
|
(string= lang "emacs-lisp") |
|
|
|
(string= lang "R") |
|
|
|
(string= lang "latex") |
|
|
|
(string= lang "sqlite")))) |
|
|
|
(setq org-confirm-babel-evaluate 'me--org-confirm-babel-evaluate) |
|
|
|
#+END_SRC |
|
|
|
** habits |
|
|
|
:PROPERTIES: |
|
|
|
:ID: 61735b0c-5016-4697-80c6-beb7b3f27a1b |
|
|
|