From 775d1653e1c6a88d7f707478b566aad4160262b0 Mon Sep 17 00:00:00 2001 From: fredrik Date: Sat, 5 Nov 2005 12:33:23 +0000 Subject: [PATCH] This should be here too. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@468 959494ce-11ee-0310-bf91-de5d638817bd --- clients/gnome-trans-applet/emacs-local | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 clients/gnome-trans-applet/emacs-local diff --git a/clients/gnome-trans-applet/emacs-local b/clients/gnome-trans-applet/emacs-local new file mode 100644 index 0000000..f7263a1 --- /dev/null +++ b/clients/gnome-trans-applet/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'") +)) -- 2.11.0