[Top][All Lists]

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

Generality of defvar

From: carlmarcos
Subject: Generality of defvar
Date: Tue, 26 Jul 2022 22:35:36 +0200 (CEST)

Have been looking into defvar and noticed the generality of its use

(defvar aname t)
(defvar bname nil)
(defvar cname 1)
(defvar dname "text")

Then I can do

(when aname (setq debug-on-error t))
(when bname (setq debug-on-error nil))

Is this correct?

reply via email to

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