diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2007-10-26 15:46:57 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2007-10-26 15:46:57 +0000 |
commit | 7ce8671d69767c4e31f76c2e0f1aad5702f8d374 (patch) | |
tree | 78be54a8920ac5167a6a3658bf296ba08b4dea9c /lisp/diff.el | |
parent | 6daab4eda7662e373f902108d553b6364982a75d (diff) | |
download | emacs-7ce8671d69767c4e31f76c2e0f1aad5702f8d374.tar.gz emacs-7ce8671d69767c4e31f76c2e0f1aad5702f8d374.tar.bz2 emacs-7ce8671d69767c4e31f76c2e0f1aad5702f8d374.zip |
Add a wrapper for getenv so it also checks the registry on Windows.
Suggestion and algorithm by Eli Zaretskii.
Code partially based on w32_get_resource and init_environment (w32.c).
(egetenv): New wrapper for getenv.
(get_current_dir_name, decode_options, get_server_config, set_local_socket,
set_socket, main): Use egetenv, not getenv.
(w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
Diffstat (limited to 'lisp/diff.el')
0 files changed, 0 insertions, 0 deletions