[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'buffer-substring' returns rubbish
From: |
Eli Zaretskii |
Subject: |
Re: 'buffer-substring' returns rubbish |
Date: |
Thu, 18 Jan 2001 16:59:31 +0200 (IST) |
On Thu, 18 Jan 2001, Juanma Barranquero wrote:
> >Does it help to use buffer-substring-no-properties instead of
> >buffer-substring?
>
> <snip>
>
> >I think this will happen for lines which have text properties
> >associated with them. It's a feature, actually.
>
> What is the recommended way to copy a string without properties?
I thought I said (above): use buffer-substring-no-properties. Doesn't
that work?
There's also remove-text-properties, in case you need that.