[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: text-property-any
From: |
Stefan Monnier |
Subject: |
Re: text-property-any |
Date: |
Fri, 25 Jan 2008 10:51:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> The value of (text-property-any start end 'foo "bar") is always nil,
> because text-property-any in effect uses `eq' to check property values.
> Would there be bad consequences if it used `equal' instead?
There are places where code expects properties to be compared with
`eq', yes. So we could add what you're requesting, but only as
an option. E.g. add a "compare-function" option that can default to
`eq' but can be set to anything else you fancy.
Stefan
- text-property-any, Stephen Berman, 2008/01/25
- Re: text-property-any,
Stefan Monnier <=