File: HACKING

package info (click to toggle)
gerbv 0.0.7-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,516 kB
  • ctags: 390
  • sloc: ansic: 3,159; sh: 564; lisp: 444; makefile: 65
file content (11 lines) | stat: -rw-r--r-- 277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11

To hack in this code you need to set emacs (or whatever you use) to
8 indentation steps and {} at the right places (see code).
Not negotiable.

My ~/.emacs are:
(defun my-c-mode-hook ()
  (turn-on-font-lock)
  (setq c-basic-offset 4))

(add-hook 'c-mode-hook 'my-c-mode-hook)