summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.org9
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