diff options
author | 2013-11-17 11:12:43 +0100 | |
---|---|---|
committer | 2013-11-17 11:12:43 +0100 | |
commit | f77d5e025439679af5630337bcd3576827da5a02 (patch) | |
tree | 84300180a8648d2ce072eaa83a1625f3e1480276 /.emacs.d/init.org | |
parent | cf563ae04e9917e9c3212005318c10303d741340 (diff) | |
download | emacs-f77d5e025439679af5630337bcd3576827da5a02.tar.gz emacs-f77d5e025439679af5630337bcd3576827da5a02.zip |
Use smartparens for C
Diffstat (limited to '.emacs.d/init.org')
-rw-r--r-- | .emacs.d/init.org | 9 |
1 files changed, 9 insertions, 0 deletions
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 |