help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: help with add-to-list syntax


From: BP25
Subject: Re: help with add-to-list syntax
Date: Wed, 30 Oct 2024 10:29:10 +0000

Hello!

First, the space character should not be escaped, this was my
mistake. But it changes nothing with respect to my problem.

On Wed, Oct 30 2024, Joel Reicher wrote:
>> Hello! Could any of you be so kind as to help me understand this,
>> please? I have
>>
>> (custom-set-variables '(warning-suppress-types '((undo\
>> discard-info))))
>>
>> in my .emacs. If I start emacs, do load-file .emacs, then evaluate
>> (add-to-list 'warning-suppress-types '(undo\ discard-info)) I get an
>> error saying the variable warning-suppress-types is void.
>
> Instead of doing add-to-list, can you do C-h v and confirm the
> variable setting that you expected didn't work?
Do you mean this? -> If I start emacs, do load-file .emacs, then do C-h v
warning-suppress-types then I see the value being ((undo\ discard-info))



reply via email to

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