At 2005-07-18T05:06:09-07:00, Baloff wrote: > is there a way to just hit one key and it does "$make && ./project1" > for me?
In your source files, specify the value of the variable `compile-command' like this: /* * Local Variables: * mode: c * compile-command: "make && ./project1" * End: */ If you want to bind, for instance, the function key `f5' to compilation, you can put this in your init file: (global-set-key [f5] 'compile) HTH, Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | See message headers for contact Harish-Chandra Research Institute | and OpenPGP details. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs