aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-08-06 03:56:27 +0200
committerGravatar Tom Willemse2016-08-06 03:56:27 +0200
commit1b3907e8d633426eb0e0bfb7d8bcf53c78b7e77f (patch)
tree30a126a82a2e1ce653e0d514d53f5bef13ce5863
parent27365e5a11ea8c0c11bcf36183bf8db0de01672e (diff)
downloadnew-dotfiles-1b3907e8d633426eb0e0bfb7d8bcf53c78b7e77f.tar.gz
new-dotfiles-1b3907e8d633426eb0e0bfb7d8bcf53c78b7e77f.zip
Add org-mode config
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 84ca8a4..e24bd2a 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -688,6 +688,17 @@ To start off, first I need to enable lexical binding.
(enable-circe-aligned-nicks))
#+END_SRC
+** Org
+
+ Tell org-mode to fontify code blocks in their specified languages.
+
+ #+BEGIN_SRC emacs-lisp
+ (eval-when-compile (require 'org))
+
+ (with-eval-after-load 'org
+ (setq org-src-fontify-natively t))
+ #+END_SRC
+
* Custom
Put the customize settings in a different file so that Emacs doesn't