hoersten-c-style.el
changeset 5 59b1838be594
parent 4 0fda818a8b6a
child 6 5f0680e88468
--- a/hoersten-c-style.el	Thu Feb 05 10:26:08 2009 -0600
+++ b/hoersten-c-style.el	Fri Feb 27 17:30:58 2009 -0600
@@ -52,6 +52,9 @@
             (local-set-key (kbd "<f1>")  'hs-hide-all)
             (local-set-key (kbd "<f2>")  'hs-show-all)
             (hs-minor-mode t)                                    ; enable hide-show mode
+
+            ;; auto-close bracing
+            (dolist (key '("(" "[" "{")) (define-key (current-local-map) key 'insert-pair))
             ))
 
 (provide 'hoersten-c-style)
\ No newline at end of file