emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109264: * alloc.c (Fgarbage_coll


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109264: * alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
Date: Mon, 30 Jul 2012 18:33:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>   * alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
[...]
> -    double nlive = 
> -      total_conses + total_symbols + total_markers + total_strings
> -      + total_vectors + total_floats + total_intervals + total_buffers;
> +    double nlive =
> +      (total_conses + total_symbols + total_markers + total_strings
> +       + total_vectors + total_floats + total_intervals + total_buffers);
 
Actually, the GNU coding style additionally recommends to cut the line
before rather than after infix operators.  I.e.

    double nlive
      = (total_conses + total_symbols + total_markers + total_strings
         + total_vectors + total_floats + total_intervals + total_buffers);

-- Stefan



reply via email to

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