diff options
| author | Luke Hoersten <[email protected]> | 2009-02-27 17:30:58 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2009-02-27 17:30:58 -0600 |
| commit | af7eb19c9dd7259963f3ea3159778a8ff16b0823 (patch) | |
| tree | 1f550af1f2c97836d45dab7ce6c749dc5370080d /hoersten-c-style.el | |
| parent | f9311a173ce168019a07ed6420c812a83e2ae669 (diff) | |
Added electric braces and minor tweaks.
Diffstat (limited to 'hoersten-c-style.el')
| -rw-r--r-- | hoersten-c-style.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hoersten-c-style.el b/hoersten-c-style.el index feed4ac..c89168a 100644 --- a/hoersten-c-style.el +++ b/hoersten-c-style.el @@ -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 |
