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

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

Re: defvar and "special-variable-p"-ness


From: Emanuel Berg
Subject: Re: defvar and "special-variable-p"-ness
Date: Sun, 15 Aug 2021 02:58:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eduardo Ochs wrote:

>>> after "defvar"-ing a variable its
>>> "special-variable-p"-ness becomes true
>>
>> It does?
>
> please try the tests in my e-mail - this one:
> https://lists.gnu.org/archive/html/help-gnu-emacs/2021-08/index.html

Please read this webpage first...

(defvar not-special)
(setq not-special "not special")
(special-variable-p 'not-special) ; nil

(defvar special "soo special")
(special-variable-p 'special) ; t

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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