[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simplify init_lread() branch and fix comments
From: |
Eli Zaretskii |
Subject: |
Re: Simplify init_lread() branch and fix comments |
Date: |
Wed, 28 Dec 2016 17:46:49 +0200 |
> From: Andreas Schwab <address@hidden>
> Date: Wed, 28 Dec 2016 09:52:56 +0100
> Cc: address@hidden
>
> > diff --git a/src/lread.c b/src/lread.c
> > index 35348f1..23ebc8f 100644
> > --- a/src/lread.c
> > +++ b/src/lread.c
> > @@ -4430,17 +4430,13 @@ load_path_default (void)
> > void
> > init_lread (void)
> > {
> > - /* First, set Vload_path. */
> > -
> > - /* Ignore EMACSLOADPATH when dumping. */
> > -#ifdef CANNOT_DUMP
> > - bool use_loadpath = true;
> > -#else
> > - bool use_loadpath = NILP (Vpurify_flag);
> > -#endif
> > -
> > - if (use_loadpath && egetenv ("EMACSLOADPATH"))
> > + if (
> > +#ifndef CANNOT_DUMP
> > + NILP (Vpurify_flag) &&
> > +#endif
> > + egetenv ("EMACSLOADPATH"))
> > {
>
> That makes it worse, and violates the GNU coding style.
Agreed.