diff options
| author | Karl Heuer | 1994-06-15 04:48:02 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-06-15 04:48:02 +0000 |
| commit | becadff8d8148af128aaa3aef2b1cf61536b4bb1 (patch) | |
| tree | 14b8b6330fae23676239cd99247d69ef6595e7ef | |
| parent | c5507689baf13c5ca0ba9cc5d13e6b031d5ff5dc (diff) | |
| download | emacs-becadff8d8148af128aaa3aef2b1cf61536b4bb1.tar.gz emacs-becadff8d8148af128aaa3aef2b1cf61536b4bb1.zip | |
(x_term_init): Don't call get_system_name.
| -rw-r--r-- | src/xterm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c index ddd3ffbe972..7d5cd5a5de9 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -176,8 +176,8 @@ static FONT_TYPE *icon_font_info; | |||
| 176 | 176 | ||
| 177 | /* Stuff for dealing with the main icon title. */ | 177 | /* Stuff for dealing with the main icon title. */ |
| 178 | 178 | ||
| 179 | extern Lisp_Object Vcommand_line_args; | 179 | extern Lisp_Object Vcommand_line_args, Vsystem_name; |
| 180 | char *hostname, *x_id_name; | 180 | char *x_id_name; |
| 181 | 181 | ||
| 182 | /* Initial values of argv and argc. */ | 182 | /* Initial values of argv and argc. */ |
| 183 | extern char **initial_argv; | 183 | extern char **initial_argv; |
| @@ -6114,11 +6114,11 @@ Check the DISPLAY environment variable or use \"-d\"\n", | |||
| 6114 | #if 0 | 6114 | #if 0 |
| 6115 | XSetAfterFunction (x_current_display, x_trace_wire); | 6115 | XSetAfterFunction (x_current_display, x_trace_wire); |
| 6116 | #endif /* ! 0 */ | 6116 | #endif /* ! 0 */ |
| 6117 | hostname = get_system_name (); | ||
| 6118 | x_id_name = (char *) xmalloc (XSTRING (Vinvocation_name)->size | 6117 | x_id_name = (char *) xmalloc (XSTRING (Vinvocation_name)->size |
| 6119 | + strlen (hostname) | 6118 | + XSTRING (Vsystem_name)->size |
| 6120 | + 2); | 6119 | + 2); |
| 6121 | sprintf (x_id_name, "%s@%s", XSTRING (Vinvocation_name)->data, hostname); | 6120 | sprintf (x_id_name, "%s@%s", |
| 6121 | XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data); | ||
| 6122 | } | 6122 | } |
| 6123 | 6123 | ||
| 6124 | /* Figure out which modifier bits mean what. */ | 6124 | /* Figure out which modifier bits mean what. */ |