emacs-devel
[Top][All Lists]
Advanced

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

Re: Simplify init_lread() branch and fix comments


From: Andreas Schwab
Subject: Re: Simplify init_lread() branch and fix comments
Date: Wed, 28 Dec 2016 09:52:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux)

On Dez 27 2016, Chris Gregory <address@hidden> wrote:

> 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.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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