[Top][All Lists]

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

Re: how to set default value for voidvariables

From: Andreas Röhler
Subject: Re: how to set default value for voidvariables
Date: Fri, 22 Jul 2011 08:52:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 21.07.2011 23:31, schrieb emacsdude:

i was wondering, is there any way to simply assign the value NIL to undefined

so that if I just write random words in the buffer and then evaluate them,
they return NIL, instead of the debugger informing me that they are void


you could have a litte mode/program running throughout the buffer from time to time doing at all words/symbols (defvar SYMBOL)

than you will have made them all to variables with a nil value and don't get that warning.



reply via email to

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