[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling save-all-buffers on M-x compile
From: |
despen |
Subject: |
Re: Disabling save-all-buffers on M-x compile |
Date: |
Fri, 05 Feb 2010 22:38:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Óscar Fuentes <ofv@wanadoo.es> writes:
> Nathaniel Flath <flat0103@gmail.com> writes:
>
>> When I do M-x compile, emacs prompts me about all unsaved files I have
>> opened and whether I wish to save them. Is there a way to disable
>> this so it goes straight to compilation?
>
> There is the variable `compilation-ask-about-save'. If it is `nil', it
> saves without prompting, but maybe this is not what you want.
>
> Your other option is to define a `compile' replacement that does not
> call `save-some-buffers':
Use M-x grep.
Just change the grep command as desired.
I really like the prompts as they are...