[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: global-whitespace style and activation
From: |
carlmarcos |
Subject: |
Re: global-whitespace style and activation |
Date: |
Tue, 19 Jul 2022 15:15:02 +0200 (CEST) |
Jul 19, 2022, 13:10 by philipk@posteo.net:
> carlmarcos--- via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
>> Have been somewhat perplexed on setting the style for
>> `global-whitespace-mode`. Looks as if the style has to be set before
>> enabling the mode. Usually one would not have access to the mode
>> variables if the mode is not yet enabled.
>>
>
> Only if you only load by autoloading. If you require 'whitespace, you
> should have access to the user options. But unless the options you are
> interested have custom setter functions (which from what I see is not
> the case), you can also just set the default value before calling
> `global-whitespace-mode', and it should work just as well.
>
What would be the best setup for it? Keep things as I did?