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

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

bug#44943: 28.0.50; defvar may return INITVALUE and overwrite symbol's v


From: Kazuhiro Ito
Subject: bug#44943: 28.0.50; defvar may return INITVALUE and overwrite symbol's value
Date: Sun, 29 Nov 2020 19:49:22 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)

When evaluate below codes, I get unexpected result.

(defvar test 1)

-> test

It is expected.

(defvar test 2)

-> 2

It should return 'test'.

(symbol-value 'test)

-> 2

It should return 1.

-- 
Kazuhiro Ito





reply via email to

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