Commit | Line | Data |
---|---|---|
d3372da9 | 1 | ; -*-Lisp-*- |
2 | ||
3 | ; Use with: | |
4 | ; (add-hook 'find-file-hooks | |
5 | ; (lambda () | |
6 | ; (load (concat default-directory "emacs-local") t))) | |
7 | ||
8 | (if | |
9 | (string-match "\\.[ch]$" (buffer-file-name (current-buffer))) | |
10 | (progn | |
11 | (make-local-variable 'compile-command) | |
12 | (setq compile-command "make -k 'CFLAGS=-g -Wall'") | |
13 | )) |