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

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

Re: Is add-to-list supposed to work when lexical-binding is t?


From: Stefan Monnier
Subject: Re: Is add-to-list supposed to work when lexical-binding is t?
Date: Mon, 10 Jun 2013 03:56:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I don't see cases where quote-var would fail to do what's intended.

We can have gv-ref/quote-var/quote-lex/younameit, but what we can't do
is merge it with quote, because their semantics are incompatible:

        (eq (let ((x 1)) (quote-var x)) (let ((x 1)) (quote-var x)))

should return nil, whereas

        (eq (let ((x 1)) (quote x)) (let ((x 1)) (quote x)))

should return t.


        Stefan




reply via email to

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