emacs-mode 488 B

123456789101112131415
  1. ;; M-x load-file <this file>
  2. ;; or emacs -l <this file>
  3. ;; to use this style: C-c . apache
  4. (c-add-style "apache"
  5. '((inclass . ++)
  6. (defun-block-intro . ++)
  7. (statement-block-intro . ++)
  8. (substatement . ++)
  9. (brace-list-intro . ++)
  10. (statement-case-intro . ++)
  11. (inextern-lang . 0)
  12. ))
  13. (setq-default indent-tabs-mode nil)
  14. ;; if you forgot to do this at startup, then M-x eval-expression
  15. ;; (setq indent-tabs-mode nil) on each buffer