Subject: Re: bug#11612: 24.1; Defaults create warning on startup

From: Andy Moreton <[email-masked]>
Date: Mon, 27 Jun 2016 12:15:11 +0100

On Sun 26 Jun 2016, Noam Postavsky wrote:

> Version: 25.1
>
> On Sat, Jun 25, 2016 at 11:40 AM, Eli Zaretskii <[email-masked]> wrote:
>>> >   Use of `C:\.emacs' without defining `HOME' in the environment is deprecated, see `Windows Home' in the Emacs manual.
>> It's `Windows HOME', btw.
>
> Pushed as fd9fad06

Please test patches before pushing - that commit does not build.
The following patch fixes it:

diff --git a/src/w32.c b/src/w32.c
index 6948fde..9a8c248 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -2778,7 +2778,7 @@ init_environment (char ** argv)
                             intern ("initialization"), build_string
                             ("Use of `C:\\.emacs' without defining `HOME' "
                              "in the environment is deprecated,\n"
-                             "see `Windows Home' in the Emacs manual."))),
+                             "see `Windows Home' in the Emacs manual.")),
                     Vdelayed_warnings_list);
              }