emacs-devel
[Top][All Lists]
Advanced

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

Re: Fix previous-button to work with connected buttons


From: Miles Bader
Subject: Re: Fix previous-button to work with connected buttons
Date: Sun, 11 Mar 2007 21:53:28 +0900

David Kastrup <address@hidden> writes:
>> Hmm.  Any reason to waste a cons-cell?  I imagine something like
>> (cons 'button (cons (setq button-counter (1+ button-counter)) properties))
>                 ^^^^^^
>> would work as well.
>
> How about (cons 'button (cons (car properties) (cdr properties)))?
>
> That provides an EQ-unique value without all the added fluff.

It's also an invalid property-list... :-/

-Miles
-- 
Fast, small, soon; pick any 2.




reply via email to

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