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

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

Flexible variable declaration ?


From: Chang jaehwa
Subject: Flexible variable declaration ?
Date: Thu, 7 Dec 2000 21:45:35 +0900
User-agent: Mutt/1.2.5i

Hello?
When I compile in c-mode, the variable "compile-command" is set "make -k".
I want to change this variable to contain the name of current buffer.
For example, if I edit hello.c and command "M-x compile" , I want to assign
variable "compile-command" as "gcc -o hello hello.c" automatically.
How can I set variable to contain buffername in it?

-- 
===============================
    Korea Univ Linux Study
   http://kuls.korea.ac.kr/
===============================



reply via email to

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