Nick Roberts <[EMAIL PROTECTED]> writes: > > `eq' compares immediate values in lisp. All integers in emacs lisp are > > immediate values. Floating point numbers in Emacs lisp are "boxed" -- > > allocated on the heap -- just like cons-cells or whatever. > > Well a symbol also seems to be a pointer/allocated on the heap, but > OK, thanks, that gives me some understanding.
Symbols are indeed on the heap, and in fact it's quite possible to have two identically named symbols which aren't eq. However in normal usage symbols are interned when they are read, which makes them eq. -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down. _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug