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

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

Re: Passing current buffer to compile command


From: Eli Zaretskii
Subject: Re: Passing current buffer to compile command
Date: Mon, 17 Jan 2011 07:44:14 -0500

> From: duke <sidney.reilley.ii@gmail.com>
> Newsgroups: gnu.emacs.help
> Date: Sun, 16 Jan 2011 17:29:14 -0800 (PST)
> 
> > Customize the value of compile-command.  You can put it in the file's
> > local variables section for each file that you edit.
> 
> This is not Lisp, or even elisp that I'm coding in. Does that matter
> with
> respect to the "local variables" you mention above?

No.  Emacs will take notice of the file-local variables regardless of
the language used by the rest of the file.  See the node "File
Variables" in the Emacs manual for more details.

> I tried what was
> suggested in another post concerning "local variables". Didn't work -
> or I'm not doing it correctly. :)

Probably the latter.  The node in the manual mentioned above should
get you off the ground.



reply via email to

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