help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs\terminal window\Mac OS X 10.4.7


From: Kevin Rodgers
Subject: Re: Emacs\terminal window\Mac OS X 10.4.7
Date: Mon, 24 Jul 2006 09:54:09 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Colin S. Miller wrote:
The "make -k" is the command you want to run to build your program,
this is correct if you are using makefiles to control the build.

You can change this to any command you want - in your case (IIRC)

jcc main.java

The default build command can be set by adding to your .emacs file

(setq compile-command "jcc main.java")

Or better yet:

(add-hook 'java-mode-hook
          (lambda ()
            (set (make-local-variable 'compile-command)
                 (format "javac %s"   ; what is jcc?
                         (file-name-nondirectory buffer-file-name)))))

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]