emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 01/10] move some globals into a thread object


From: Stefan Monnier
Subject: Re: [PATCH 01/10] move some globals into a thread object
Date: Thu, 09 Aug 2012 21:18:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> The #defines mean that this patch also has to rename a few fields
> whose names clash with the defines.

I'd rather rename the globals (although I understand it will probably
result in a larger patch), because I'd rather limit the impact of those
#defines.  If you ever create a local variable (or a struct field) named
`current_buffer' somewhere, it might take you a good while to figure out
why your code is misbehaving.


        Stefan



reply via email to

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