https://github.com/N-BodyShop/changa
Raw File
Tip revision: 7e4383a1242b62533756a4bb02889778552eeec0 authored by Evan Ramos on 06 November 2017, 23:05:21 UTC
Cast a void pointer to the proper non-void type
Tip revision: 7e4383a
.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