emacs-devel
[Top][All Lists]
Advanced

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

Re: How to add pseudo vector types


From: Yuan Fu
Subject: Re: How to add pseudo vector types
Date: Fri, 16 Jul 2021 11:51:27 -0400


> On Jul 16, 2021, at 11:27 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Fri, 16 Jul 2021 10:27:36 -0400
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
>> emacs-devel@gnu.org
>> 
>> Another question, how do I add a new field in struct buffer? I tried to add
>> 
>>      Lisp_Object ts_parser_list_;
>> 
>> Before 
>> 
>>      Lisp_Object cursor_in_non_selected_windows_;
>> 
>> But that wouldn't dump.
> 
> Did you see in init_buffer_once what we do with built-in fields of
> struct buffer?

I did not, that must be why, thanks. Though I’ve changed to use a buffer-local 
variable as Stefan suggested.

Yuan


reply via email to

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