aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-12-26 02:21:31 +0000
committerKaroly Lorentey2005-12-26 02:21:31 +0000
commit30663b475e57197c9896a252e1d4ca31c579fa2b (patch)
treec6bd33f3845ffe13159bceb38ff9d5260076beb7 /src/callproc.c
parentf105f403d206f95bf534226abb99f14aa2f3052e (diff)
downloademacs-30663b475e57197c9896a252e1d4ca31c579fa2b.tar.gz
emacs-30663b475e57197c9896a252e1d4ca31c579fa2b.zip
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
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 35331e4b5dd..a8735d51c9b 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1493,7 +1493,7 @@ getenv_internal (var, varlen, value, valuelen, terminal)
1493 /* Find the environment in which to search the variable. */ 1493 /* Find the environment in which to search the variable. */
1494 if (!NILP (terminal)) 1494 if (!NILP (terminal))
1495 { 1495 {
1496 Lisp_Object local = get_terminal_param (get_device (terminal, 1)); 1496 Lisp_Object local = get_terminal_param (get_device (terminal, 1), Qenvironment);
1497 /* Use Vprocess_environment if there is no local environment. */ 1497 /* Use Vprocess_environment if there is no local environment. */
1498 if (!NILP (local)) 1498 if (!NILP (local))
1499 environment = local; 1499 environment = local;