From 1b3907e8d633426eb0e0bfb7d8bcf53c78b7e77f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 6 Aug 2016 03:56:27 +0200 Subject: [PATCH] Add org-mode config --- emacs/.emacs.d/init.org | 11 +++++++++++ 1 file changed, 11 insertions(+) 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