diff options
| author | Karoly Lorentey | 2004-01-22 02:36:55 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-01-22 02:36:55 +0000 |
| commit | e9cda8277618ce4e2644e852539474b7b67f09e3 (patch) | |
| tree | ca87f4bef3d3f98379211ea69f1fb3c26452a540 /src | |
| parent | 990e879437236fc76e827d6191899c117f01fd99 (diff) | |
| download | emacs-e9cda8277618ce4e2644e852539474b7b67f09e3.tar.gz emacs-e9cda8277618ce4e2644e852539474b7b67f09e3.zip | |
Romain Francoise's and Ami Fischman's bugfixes.
src/term.c (create_tty_output): Fix syntax error. Reported by Ami
Fischman (ami at fischman dot org).
lisp/loadup.el: Load term/x-win.el if X is available.
lisp/startup.el (handle-args-function-alist)
(window-system-initialization-alist): New variables.
(command-line): Don't load term/x-win.el, use the above variables.
lisp/x-win.el: (x-initialize-window-system): New function, move X
initialization here.
(x-initialized): New variable.
lisp/frame.el (make-frame-on-display): Don't initialize X twice, and
make sure to pass the correct display parameter to x-open-connection.
Reported by Romain Francoise (romain at orebokech dot com).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-58
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 3ab02c501b8..c6782efa606 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2908,10 +2908,12 @@ delete_tty (struct display *display) | |||
| 2908 | void | 2908 | void |
| 2909 | create_tty_output (struct frame *f) | 2909 | create_tty_output (struct frame *f) |
| 2910 | { | 2910 | { |
| 2911 | struct tty_output *t; | ||
| 2912 | |||
| 2911 | if (! FRAME_TERMCAP_P (f)) | 2913 | if (! FRAME_TERMCAP_P (f)) |
| 2912 | abort (); | 2914 | abort (); |
| 2913 | 2915 | ||
| 2914 | struct tty_output *t = xmalloc (sizeof (struct tty_output)); | 2916 | t = xmalloc (sizeof (struct tty_output)); |
| 2915 | bzero (t, sizeof (struct tty_output)); | 2917 | bzero (t, sizeof (struct tty_output)); |
| 2916 | 2918 | ||
| 2917 | t->display_info = FRAME_DISPLAY (f)->display_info.tty; | 2919 | t->display_info = FRAME_DISPLAY (f)->display_info.tty; |