[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More keybindings in compilation-mode-map
From: |
Alan Shutko |
Subject: |
Re: More keybindings in compilation-mode-map |
Date: |
Tue, 13 Nov 2001 10:15:13 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) |
"Stefan Monnier" <monnier+gnu/address@hidden> writes:
> I think M-x recompile should be fixed to always rerun the exact
> same command if run from a compilation-mode buffer.
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))
(defun compilation-revert-buffer (ignore-auto noconfirm)
--
Alan Shutko <address@hidden> - In a variety of flavors!
Onward through the fog.
- More keybindings in compilation-mode-map, Kai Großjohann, 2001/11/12
- Re: More keybindings in compilation-mode-map, Kim F. Storm, 2001/11/12
- Re: More keybindings in compilation-mode-map, Stefan Monnier, 2001/11/13
- Re: More keybindings in compilation-mode-map,
Alan Shutko <=
- Re: More keybindings in compilation-mode-map, Stefan Monnier, 2001/11/13
- Re: More keybindings in compilation-mode-map, Alan Shutko, 2001/11/13
- Re: More keybindings in compilation-mode-map, Richard Stallman, 2001/11/13
- Re: More keybindings in compilation-mode-map, Eli Zaretskii, 2001/11/13
- Re: More keybindings in compilation-mode-map, Richard Stallman, 2001/11/13
- Re: More keybindings in compilation-mode-map, Kim F. Storm, 2001/11/13
- Re: More keybindings in compilation-mode-map, Stefan Monnier, 2001/11/13
- Re: More keybindings in compilation-mode-map, Andreas Schwab, 2001/11/14
- Re: More keybindings in compilation-mode-map, Ehud Karni, 2001/11/14
- Re: More keybindings in compilation-mode-map, Richard Stallman, 2001/11/14