Update my configuration files
This commit is contained in:
@@ -29,15 +29,23 @@
|
||||
|
||||
("org" :components ("org-notes" "org-static"))))
|
||||
|
||||
;; preserve indentation on output
|
||||
(setq org-src-preserve-indentation t)
|
||||
|
||||
;; some config for org-babel
|
||||
(setq org-confirm-babel-evaluate nil
|
||||
org-src-fontify-natively t
|
||||
org-src-tab-acts-natively t)
|
||||
org-src-tab-acts-natively t
|
||||
org-hide-emphasis-markers t)
|
||||
|
||||
;;load languages babel
|
||||
;; use js2-mode instead of js-mode in org-mode
|
||||
(add-to-list 'org-src-lang-modes '("js" . js2))
|
||||
|
||||
;; load languages babel
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
'((clojure . t)
|
||||
'((C . t)
|
||||
(js . t)
|
||||
(emacs-lisp . t)
|
||||
(haskell . t)
|
||||
(scheme . t)
|
||||
|
||||
Reference in New Issue
Block a user