[Python-mode] py-ask-about-save

Andreas Röhler andreas.roehler at online.de
Wed Feb 1 07:18:22 CET 2012


Am 31.01.2012 21:47, schrieb François Pinard:
> Andreas Röhler<andreas.roehler at online.de>  writes:
>
>> (defcustom py-ask-about-save t
>>    "If not nil, ask about which buffers to save before executing some code.
>> Otherwise, all modified buffers are saved without asking."
>
>> Will change the implementation into
>
>>   "If not nil, ask about which buffers to save before executing some code.
>> Otherwise do nothing."
>
>> Opinions?
>
> Hi, Andreas, and gang!
>
> I guess this is inspired from compilation-ask-about-save.  It is easier
> to remember when alike variables have alike behaviour.
>
> Some Emacs variables have nil, t and 'ask for a value; you surely have
> seen some of them, I do not have an example handy.  The behaviour could
> be controlled by such a 3-valued variable, yet then, the variable name
> should be changed to not be misleading.
>
> François
>

Thanks, François. Good idea, will look for that.

Andreas


More information about the Python-mode mailing list