Posted to tcl by patthoyts at Wed Dec 09 20:12:17 GMT 2009view raw
- ;; Add this to your .emacs to define a style that matches the Tcl/Tk style
- ;; and to use it hit C-c . tcltk RET
- ;;
- (c-add-style "tcltk"
- '("gnu"
- (tab-width . 8)
- (indent-tabs-mode . t)
- (c-basic-offset . 4)
- (c-offsets-alist
- (substatement-open . 0)
- (statement-case-open . 0)
- (case-label . 0)
- (innamespace . -)
- (inline-open . 0)
- (arglist-cont-nonempty . ++))))