3 (defconst vu3rdd-c-style
6 (indent-tabs-mode . nil)
7 (c-comment-only-line-offset . 0)
8 (c-hanging-braces-alist . ((substatement-open before after)))
9 (c-offsets-alist . ((topmost-intro . 0)
11 (substatement-open . 0)
19 (c-add-style "vu3rddstyle" vu3rdd-c-style nil)
21 (defun vu3rdd-c-hook ()
22 (c-set-style "vu3rddstyle")
23 ;; parenthesis matching {}[]()
24 (global-set-key "%" 'match-paren))
26 (add-hook 'c-mode-common-hook 'vu3rdd-c-hook)
28 (add-hook 'c-mode-common-hook
29 (lambda () (which-function-mode t)))