[Top][All Lists]

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

Re: default-FOO variables

From: Stefan Monnier
Subject: Re: default-FOO variables
Date: Mon, 05 Oct 2009 09:39:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> What does this entry in NEWS:
>    ** All the default-FOO variables that hold the default value of the FOO
>    variable, are now declared obsolete.

> mean for variable declaration in C such as this:

>      DEFVAR_LISP_NOPRO ("default-enable-multibyte-characters",
>                       &buffer_defaults.enable_multibyte_characters,
>                       doc: /* *Default value of `enable-multibyte-characters' 
> for buffers not overriding it.
>    This is the same as (default-value 'enable-multibyte-characters).  */);

> Do we need to avoid such declarations?

Yes, the aim is to get rid of them at some point.

> If so, how to do the equivalent of that for buffer-local variables
> defined in C?

I don't understand, why you'd need something equivalent.
Can you give us some details?


reply via email to

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