emacs-devel
[Top][All Lists]
Advanced

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

Re: make a pure string from a string literal


From: Juanma Barranquero
Subject: Re: make a pure string from a string literal
Date: Wed, 4 Nov 2009 19:41:26 +0100

On Wed, Nov 4, 2009 at 17:01, Dan Nicolaescu <address@hidden> wrote:

> There are a few build_string("STRING LITERAL") calls in emacs/src/*.c
> The result is actually a constant string, so we could do:
> Fpurecopy (build_string ("STRING LITERAL"))

It is unlikely, but a build_string("STRING LITERAL") could have text
properties added later.

    Juanma




reply via email to

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