On 1/22/07, Lennart Borgman (gmail) <[EMAIL PROTECTED]> wrote:
However the real question was of course if the same obarray is used for symbols created by let variable declarations (did I get everything right now?;-) as for symbols created by "defvar" variables.
(progn (defvar my-sym t) (put 'my-sym 'my-prop t) (let (my-sym) (message "symbol: %S -- property: %S" my-sym (get 'my-sym 'my-prop)))) => "symbol: nil -- property: t" If `let' interned a new symbol in another obarray, the above would answer: "symbol: nil -- property: nil". That would be very surprising. A function call at arbitrary deep doesn't usually care whether a symbol it's using was let-bound or not, only its value and other properties. `let' is not advertised as binding anything other than a symbol's value... /L/e/k/t/u _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug