2011-04-23 00:29:34 +02:00
|
|
|
(add-hook 'c-mode-hook
|
|
|
|
(lambda ()
|
2011-04-26 09:30:24 +02:00
|
|
|
(local-set-key [f11] 'c-toggle-header-source)
|
|
|
|
(local-set-key "\C-m"
|
|
|
|
(lambda ()
|
|
|
|
(interactive)
|
|
|
|
(c-indent-new-comment-line)
|
|
|
|
(c-indent-line-or-region)))
|
|
|
|
(local-set-key [C-return] 'newline)))
|