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

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

help with add-to-list syntax


From: BP25
Subject: help with add-to-list syntax
Date: Mon, 28 Oct 2024 14:29:48 +0000

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. However 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)) and if I evaluate
(add-to-list 'warning-suppress-types '(undo\ discard-info)) then
everything goes through without error. Why?!

Please, let me know! (and please, CC: my email address in your reply
because I'm not subscribed to this list)



reply via email to

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