* src/callproc.c (Vglobal_environment, Vlocal_environment_variables): Remove.
(getenv_internal, child_setup): Don't look at global-environment or
local-environment-variables.
(Fgetenv_internal): Update docs.
(set_initial_environment): Rename from set_global_environment. Store
Emacs environment in initial frame parameter.
(syms_of_callproc): Remove obsolete defvars. Update docs.
* lisp/env.el (read-envvar-name): Remove reference to global-environment.
(setenv-internal): New function.
(setenv): Use it. Always set process-environment. Update docs.
(getenv): Update docs.
(environment): Rewrite for the new environment design. Update docs.
* lisp/frame.el (frame-initialize): Copy the environment from the initial frame.
* src/emacs.c (main): Call set_initial_environment, not set_global_environment.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-569
(fn_keycode_to_keycode_table) [MAC_OSX]: New variable.
(mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function.
(XTread_socket) [TARGET_API_MAC_CARBON]: Use it.
(XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout
resource to backtranslate key with modifiers.
(XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent.
used.
(string_width): Declare as static.
(Start, pop_up_menu): Set is_hint to 0 before calling
handle_motion_event.
(pop_up_menu): Return value and parameters for x_catch_errors and
x_uncatch_errors changed.
renamed to makefile-query-one-target-method-function. The old name
is still available as alias.
*** The variable `artist-text-renderer' has been renamed to
`artist-text-renderer-function'. The old name is still available as
alias.
*** The variable `flyspell-generic-check-word-p' has been renamed
to `flyspell-generic-check-word-predicate'. The old name is still
available as alias.
*** The variable `ispell-format-word' has been renamed to
`ispell-format-word-function'. The old name is still available as
alias.
*** The variables `skeleton-transformation', `skeleton-filter', and
`skeleton-pair-filter' have been renamed to
`skeleton-transformation-function', `skeleton-filter-function', and
`skeleton-pair-filter-function'. The old names are still available
as aliases.
*** The variable `sgml-transformation' has been renamed to
`sgml-transformation-function'. The old name is still available as
alias.
Make these the aliases for the following variables.
(skeleton-transformation-function, skeleton-filter-function)
(skeleton-pair-filter-function): Make these the real names.