[Top][All Lists]

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

Re: text.texi - `buffer-substring'

From: Andreas Roehler
Subject: Re: text.texi - `buffer-substring'
Date: Fri, 23 Jun 2006 09:18:45 +0200
User-agent: Thunderbird (X11/20060516)

Miles Bader schrieb:
Andreas Roehler <address@hidden> writes:
(buffer-substring 1 10)#("This is t" 0 1 (fontified t) 1 9 (fontified t))

ie text-properties are copied as a kind of comment
behind, not solely `along' as the info says. (Reading
the info I would understand, that the chars copied into
the returned string are propertized as the original
one, as it seems the case altogether.)

No, you are still confusing the _printed representation_ of the return
value of buffer-substring with the actual return value.

Try this:

  (type-of (buffer-substring 1 10))

It returns `string', showing that the return value of buffer-substring
is really a string.

Sorry, thanks.

Andreas Roehler

reply via email to

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