aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2005-12-26 02:21:31 +0000
committerKaroly Lorentey2005-12-26 02:21:31 +0000
commit30663b475e57197c9896a252e1d4ca31c579fa2b (patch)
treec6bd33f3845ffe13159bceb38ff9d5260076beb7
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
-rw-r--r--README.multi-tty6
-rw-r--r--src/callproc.c2
-rw-r--r--src/dispextern.h2
-rw-r--r--src/termhooks.h2
4 files changed, 7 insertions, 5 deletions
diff --git a/README.multi-tty b/README.multi-tty
index de75aa6a10b..9f3e048e2e2 100644
--- a/README.multi-tty
+++ b/README.multi-tty
@@ -462,7 +462,11 @@ THINGS TO DO
462 changed in CVS, and frame.el in multi-tty has not yet been adapted 462 changed in CVS, and frame.el in multi-tty has not yet been adapted
463 for the changes. (It needs to look at 463 for the changes. (It needs to look at
464 default-frame-background-mode.) (Update: maybe it is fixed now; 464 default-frame-background-mode.) (Update: maybe it is fixed now;
465 needs testing.) 465 needs testing.) (Note that the byte compiler has this to say about
466 term/rxvt.el:)
467
468 term/rxvt.el:309:17:Warning: assignment to free variable
469 `default-frame-background-mode'
466 470
467** I think `(set-)terminal-local-value' and the terminal parameter 471** I think `(set-)terminal-local-value' and the terminal parameter
468 mechanism should be integrated into a single framework. 472 mechanism should be integrated into a single framework.
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