emacs-devel
[Top][All Lists]
Advanced

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

Re: More keybindings in compilation-mode-map


From: Eli Zaretskii
Subject: Re: More keybindings in compilation-mode-map
Date: Tue, 13 Nov 2001 18:03:08 +0200

> From: Alan Shutko <address@hidden>
> Date: Tue, 13 Nov 2001 10:15:13 -0500
> 
> 
> It seems as if recompile uses the value of compile-command (which is
> globally set whenever you M-x compile), so it seems this should do
> it.  
> 
> *** /home/ats/compile.el~     Tue Nov 13 10:13:03 2001
> --- /home/ats/compile.el      Tue Nov 13 10:14:26 2001
> ***************
> *** 966,971 ****
> --- 966,972 ----
>          '(compilation-mode-font-lock-keywords t))
>     (set (make-local-variable 'revert-buffer-function)
>          'compilation-revert-buffer)
> +   (make-local-variable 'compile-command)
>     (run-hooks 'compilation-mode-hook))

What will this do to the value of compile-command visible in other
buffers?  The default today is that the last command used in "M-x
compile" is the default command, even if you invoke it from any other
buffer.



reply via email to

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