[Top][All Lists]

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

Re: Pure strings (Re: Compilation to native)

From: Kenichi Handa
Subject: Re: Pure strings (Re: Compilation to native)
Date: Mon, 19 Apr 2004 15:36:00 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Richard Stallman <address@hidden> writes:
>     This error is raised on the string "Buffers" by the macro CHECK_IMPURE.
>     Could someone explain why should this string be "impure"?

> The problem occurs because the string is pure.  It looks like it
> is pure because it comes from menu-bar-update-buffers,
> which is in a preloaded file.

> Does this patch fix it?

Yes.  Isn't it better to do copy-sequence on the fly, for
instance, in parse_menu_item (in keyboard.c) to avoid the
similar problem for the future?

Ken'ichi HANDA

reply via email to

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