unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* comparing symbols coming from gensym?
@ 2005-08-24  4:50 Joe Corneli
  2005-08-24 15:48 ` Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Corneli @ 2005-08-24  4:50 UTC (permalink / raw)



Why is it that

(setq a (gensym)) ;=> G2007
a                 ;=> G2007
(equal a 'G2007)  ;=> nil

while 

(setq a 'foo)    ;=> foo
a                ;=> foo
(equal a 'foo)   ;=> t

?

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

end of thread, other threads:[~2005-08-24 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4802.1124860720.20277.help-gnu-emacs@gnu.org>
2005-08-24  8:24 ` comparing symbols coming from gensym? Alan Mackenzie
2005-08-24 15:57   ` Joe Corneli
2005-08-24  9:00 ` N. Raghavendra
2005-08-24  4:50 Joe Corneli
2005-08-24 15:48 ` Drew Adams

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).