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 19:27:34 +0200

> From: Kevin Layer <layer@--you-know-what-to-remove--.franz.com>
> Newsgroups: gnu.emacs.bug
> Date: 14 Nov 2001 08:34:01 -0800
> 
> (format "%s" ...) in emacs 20.7 removes font info.  In 21.1 it does
> not.  This, not buffer-substring, is hosing me.
> 
> Given that I have lots and lots of calls to buffer-substring that I
> don't want to change to buffer-substring-no-properties, how do I
> defontify a string?

It's in NEWS: either use `copy-sequence' or `set-text-properties'.



reply via email to

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