aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c2
-rw-r--r--src/dispextern.h2
-rw-r--r--src/termhooks.h2
3 files changed, 2 insertions, 4 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;
diff --git a/src/dispextern.h b/src/dispextern.h
index b473f9cb16b..2ae833d46c2 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2939,8 +2939,6 @@ extern void insert_glyphs P_ ((struct frame *, struct glyph *, int));
2939extern void delete_glyphs P_ ((struct frame *, int)); 2939extern void delete_glyphs P_ ((struct frame *, int));
2940extern void ins_del_lines P_ ((struct frame *, int, int)); 2940extern void ins_del_lines P_ ((struct frame *, int, int));
2941 2941
2942extern struct device *get_device P_ ((Lisp_Object display, int));
2943
2944extern struct device *init_initial_device P_ ((void)); 2942extern struct device *init_initial_device P_ ((void));
2945 2943
2946 2944
diff --git a/src/termhooks.h b/src/termhooks.h
index f12dbadd197..7920b6597aa 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -596,7 +596,7 @@ extern struct device *device_list;
596#define DEVICE_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input) 596#define DEVICE_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input)
597 597
598extern Lisp_Object get_terminal_param P_ ((struct device *, Lisp_Object)); 598extern Lisp_Object get_terminal_param P_ ((struct device *, Lisp_Object));
599 599extern struct device *get_device P_ ((Lisp_Object display, int));
600extern struct device *create_device P_ ((void)); 600extern struct device *create_device P_ ((void));
601extern void delete_device P_ ((struct device *)); 601extern void delete_device P_ ((struct device *));
602 602