diff options
| author | Eli Zaretskii | 2012-08-04 17:17:10 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-08-04 17:17:10 +0300 |
| commit | 76151e2ce70d4c0fec8f3dfda62a92e0430528dc (patch) | |
| tree | 82912651eaa2ddbcd79ffe7e46fb3018d9880ad8 /src/ChangeLog | |
| parent | a09508f27e7cda2817211ee33a9d55e5575da0a6 (diff) | |
| download | emacs-76151e2ce70d4c0fec8f3dfda62a92e0430528dc.tar.gz emacs-76151e2ce70d4c0fec8f3dfda62a92e0430528dc.zip | |
Fix bug #11959 with startup warnings on MS-Windows about ../site-lisp.
src/w32.c (init_environment): Change the default values of many
environment variables in dflt_envvars[] to NULL, to avoid pushing
them into environment when they were not already defined. Remove
the code that deletes site-lisp subdirectories from the default
value of EMACSLOADPATH, as it is no longer needed.
(check_windows_init_file): Now external, not static. Use
Vload_path as is, without adding anything, as this function is now
called when Vload_path is already set up.
src/w32.h (check_windows_init_file): Add prototype.
src/emacs.c (init_cmdargs) [WINDOWSNT]: When running from the build
directory, ignore the /*/i386/ tail in Vinvocation_directory, for
compatibility with Posix platforms.
(main): Move the call to check_windows_init_file to here from
w32.c.
(decode_env_path) [WINDOWSNT]: Expand the %emacs_dir%/ prefix, if
any, in the DEFALT argument into the root of the Emacs build or
installation tree, as appropriate.
src/callproc.c (init_callproc_1): Call decode_env_path instead of
doing its equivalent by hand.
(init_callproc): Replace DOS_NT condition with MSDOS, thus letting
the code that sets Vexec_path run on MS-Windows.
src/lread.c (init_lread): Add comments to #ifdef's.
nt/paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
(PATH_DATA, PATH_DOC): Replace dummy directory names with
directories relative to %emacs_dir%.
(PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
to the use case of running un-installed Emacs.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3de5ad8b5ce..748ccf94004 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,33 @@ | |||
| 1 | 2012-08-04 Eli Zaretskii <eliz@gnu.org> | 1 | 2012-08-04 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | Fix startup warnings about ../site-lisp on MS-Windows. (Bug#11959) | ||
| 4 | * w32.c (init_environment): Change the default values of many | ||
| 5 | environment variables in dflt_envvars[] to NULL, to avoid pushing | ||
| 6 | them into environment when they were not already defined. Remove | ||
| 7 | the code that deletes site-lisp subdirectories from the default | ||
| 8 | value of EMACSLOADPATH, as it is no longer needed. | ||
| 9 | (check_windows_init_file): Now external, not static. Use | ||
| 10 | Vload_path as is, without adding anything, as this function is now | ||
| 11 | called when Vload_path is already set up. | ||
| 12 | |||
| 13 | * w32.h (check_windows_init_file): Add prototype. | ||
| 14 | |||
| 15 | * emacs.c (init_cmdargs) [WINDOWSNT]: When running from the build | ||
| 16 | directory, ignore the /*/i386/ tail in Vinvocation_directory, for | ||
| 17 | compatibility with Posix platforms. | ||
| 18 | (main): Move the call to check_windows_init_file to here from | ||
| 19 | w32.c. | ||
| 20 | (decode_env_path) [WINDOWSNT]: Expand the %emacs_dir%/ prefix, if | ||
| 21 | any, in the DEFALT argument into the root of the Emacs build or | ||
| 22 | installation tree, as appropriate. | ||
| 23 | |||
| 24 | * callproc.c (init_callproc_1): Call decode_env_path instead of | ||
| 25 | doing its equivalent by hand. | ||
| 26 | (init_callproc): Replace DOS_NT condition with MSDOS, thus letting | ||
| 27 | the code that sets Vexec_path run on MS-Windows. | ||
| 28 | |||
| 29 | * lread.c (init_lread): Add comments to #ifdef's. | ||
| 30 | |||
| 3 | * msdos.c (dos_set_window_size, IT_update_begin) | 31 | * msdos.c (dos_set_window_size, IT_update_begin) |
| 4 | (IT_frame_up_to_date, IT_set_frame_parameters): Use FVAR and WVAR | 32 | (IT_frame_up_to_date, IT_set_frame_parameters): Use FVAR and WVAR |
| 5 | instead of direct references. | 33 | instead of direct references. |