From: fredrik Date: Sat, 5 Nov 2005 12:27:47 +0000 (+0000) Subject: This should be here too. X-Git-Tag: 0.1~118 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=969065564b8674986eed36f138c777934e9f5360;p=doldaconnect.git This should be here too. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@461 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/lib/emacs-local b/lib/emacs-local new file mode 100644 index 0000000..f7263a1 --- /dev/null +++ b/lib/emacs-local @@ -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'") +))