unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* help with add-to-list syntax
@ 2024-10-28 14:29 BP25
  2024-10-29 16:12 ` Michael Heerdegen via Users list for the GNU Emacs text editor
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: BP25 @ 2024-10-28 14:29 UTC (permalink / raw)
  To: help-gnu-emacs

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)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-31 10:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 14:29 help with add-to-list syntax BP25
2024-10-29 16:12 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-10-30  0:51 ` Joel Reicher
2024-10-30 10:29   ` BP25
2024-10-31 10:35 ` Michael Heerdegen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).