Fix initialization of the window-system variable.
authorKaroly Lorentey <lorentey@elte.hu>
Mon, 12 Jan 2004 00:45:42 +0000 (00:45 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Mon, 12 Jan 2004 00:45:42 +0000 (00:45 +0000)
commit7f19e125070fa016bcfad660febf19f1a84adb76
tree0660a518f41bb97cbb5b3e91c32ac12943419dce
parent309990406b2d16da6ad4131c6530d309e44945ec
Fix initialization of the window-system variable.

lisp/faces.el (x-create-frame-with-faces)
(tty-create-frame-with-faces): Don't set the window-system parameter
here, it seems to be unreliable.

lisp/frame.el (make-frame): Don't forget to return the new frame (d'oh).

src/frame.c (Qwindow_system): New symbol.
(syms_of_frame): Intern it.
(Fmake_terminal_frame): Initialize window-system frame parameter.

src/frame.h (Qwindow_system): New declaration.

src/xfns.c (Fx_create_frame, x_create_tip_frame): Initialize
window-system frame parameter.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-56
lisp/faces.el
lisp/frame.el
src/frame.c
src/frame.h
src/xfns.c