bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: buffer-substring vs. buffer-substring-no-properties


From: Eli Zaretskii
Subject: Re: buffer-substring vs. buffer-substring-no-properties
Date: Wed, 14 Nov 2001 14:00:34 +0200

On 13 Nov 2001, Kevin Layer wrote:

> That is, seeing a value returned from buffer-substring of
> 
> #("(def" 0 1 (fontified t) 1 4 (face font-lock-keyword-face fontified t))
> 
> instead of "(def" is freaking out the software I'm "porting" to emacs
> 21.

How is it ``freaking out'' your code, exactly?  Can you show an
example of such breakage?  Perhaps there's a way to do what you want
without switching to buffer-substring-no-properties.  AFAIK, the Emacs
primitives generally DTRT even though properties are there.



reply via email to

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