From f77d5e025439679af5630337bcd3576827da5a02 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 17 Nov 2013 11:12:43 +0100 Subject: Use smartparens for C --- .emacs.d/init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.emacs.d/init.org b/.emacs.d/init.org index cba84e9..6a1de3f 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -448,3 +448,12 @@ (stante-after woman (setq woman-fill-column 72)) #+END_SRC + +* Turn on smartparens for C coding + + C is not as well-structured as Lisp, but it still has a lot of + braces, brackets and other things. + + #+BEGIN_SRC emacs-lisp + (add-hook 'c-mode-hook #'smartparens-strict-mode) + #+END_SRC -- cgit v1.2.3-54-g00ecf