Commit graph

2 commits

Author SHA1 Message Date
Tom Willemsen
9d53d9b19c EMACS: c-mode keys
* Mapped <Return> to c-indent-new-comment-line followed by a
    c-indent-line-or-region.

  * Mapped <C-return> to newline, since c-indent-new-comment-line
    inserts a \ at the end of #define statements and #include
    statements which makes the compiler think the line continues on
    the next.
2011-04-26 09:30:24 +02:00
Tom Willemsen
4344bbeeda EMACS: Toggle header and source
Wrote a function to toggle views between a header and source file in
c-mode and locally bound this to F11.
2011-04-23 00:29:34 +02:00