[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14202: 24.3.50; add-function doesn't check properly for existing adv
From: |
Stefan Monnier |
Subject: |
bug#14202: 24.3.50; add-function doesn't check properly for existing advices with same name prop |
Date: |
Mon, 15 Apr 2013 11:07:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Looks like `advice--member-p' is not DTRT:
> When adding the advice the second time, this test
> (equal function (cdr (assq 'name (advice--props definition))))
> seems to be "responsible". But it returns nil, because `function' is
> bound to a byte code function, while
Duh! Indeed that code was confused. Should be fixed now.
Thank you,
Stefan