[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alternative to substring-no-properties
From: |
Kim F. Storm |
Subject: |
Alternative to substring-no-properties |
Date: |
28 Jan 2002 01:38:28 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Some days ago, I proposed to add an optional argument NO_PROPERTIES to
the existing substring function rather than adding the new
substring-no-properties function. If the arg in non-nil, substring
would not copy the text propertiesof the substring.
The rationale is: why copy properties and then remove them, instead of
not copying them in the first place.
Of course, substring-no-properties would be a trivial addition if
you insist...; just declare it as (substring .... t)
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Alternative to substring-no-properties,
Kim F. Storm <=