Mercurial > emacs
diff src/callproc.c @ 83422:1f5d64c4df6f
Fix compilation errors in previous commit.
* src/callproc.c (getenv_internal): Fix get_terminal_param call.
* dispextern.h (get_device): Move declaration to termhooks.h.
* termhooks.h (get_device): Move here.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-462
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 26 Dec 2005 02:21:31 +0000 |
parents | bb2edc915032 |
children | c82829d08b89 |
line wrap: on
line diff
--- a/src/callproc.c Mon Dec 26 02:14:10 2005 +0000 +++ b/src/callproc.c Mon Dec 26 02:21:31 2005 +0000 @@ -1493,7 +1493,7 @@ /* Find the environment in which to search the variable. */ if (!NILP (terminal)) { - Lisp_Object local = get_terminal_param (get_device (terminal, 1)); + Lisp_Object local = get_terminal_param (get_device (terminal, 1), Qenvironment); /* Use Vprocess_environment if there is no local environment. */ if (!NILP (local)) environment = local;