https://github.com/N-BodyShop/changa
Raw File
Tip revision: 76a59c60eb20348f8ff0822c9c0bd867cd1b43f8 authored by Thomas Quinn on 27 September 2012, 19:20:42 UTC
Use cosmoType as hosttype
Tip revision: 76a59c6
.emacs
(setq-default c-basic-offset 4)
(defun my-c-mode-common-hook ()
       ;; my customizations for all of c-mode, c++-mode, objc-mode, java-mode
       ;  JST's style
  	(setq c-basic-offset 4)
       (c-set-offset 'block-close '+)
       (c-set-offset 'defun-close '+)
       (c-set-offset 'class-close '+)
       (auto-fill-mode 1)
       (hilit-highlight-buffer)
       )
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
back to top