This should be here too.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sat, 5 Nov 2005 12:27:47 +0000 (12:27 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sat, 5 Nov 2005 12:27:47 +0000 (12:27 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@461 959494ce-11ee-0310-bf91-de5d638817bd

lib/emacs-local [new file with mode: 0644]

diff --git a/lib/emacs-local b/lib/emacs-local
new file mode 100644 (file)
index 0000000..f7263a1
--- /dev/null
@@ -0,0 +1,13 @@
+; -*-Lisp-*-
+
+; Use with:
+; (add-hook 'find-file-hooks
+;           (lambda ()
+;             (load (concat default-directory "emacs-local") t)))
+
+(if
+    (string-match "\\.[ch]$" (buffer-file-name (current-buffer)))
+    (progn
+      (make-local-variable 'compile-command)
+      (setq compile-command "make -k 'CFLAGS=-g -Wall'")
+))