From cf47f738fad241e04072f271652172fb21b2e3d9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 14 Nov 2014 13:49:44 +0100 Subject: [PATCH] Add CSS settings to literate init --- emacs/.emacs.d/init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 50f0452..e0efc4d 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1223,6 +1223,15 @@ (add-hook 'js2-mode-hook #'electric-indent-local-mode) #+END_SRC +** CSS + + Turn on electric indent and electric pair modes for CSS. + + #+BEGIN_SRC emacs-lisp + (add-hook 'css-mode-hook #'electric-indent-local-mode) + (add-hook 'css-mode-hook #'oni:electric-pair-local-mode) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I