Mercurial > emacs
comparison src/frame.h @ 83074:34a7a8f40548
Fix background-mode on terminal frames (Dan Nicolaescu).
lisp/faces.el (frame-set-background-mode): Guess the background mode
on terminal frames from the termcap type string.
(tty-create-frame-with-faces): Switch to the new frame during its setup.
Load the customization library corresponding to the terminal type of the
newly created frame. (Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.)
lisp/startup.el (normal-top-level): Moved background-mode heuristic to
frame-set-background-mode.
src/dispnew.c (init_display): Update the tty-type frame parameter of
the initial terminal frame.
src/frame.h (Qtty, Qtty_type): New externs.
src/term.c (term_init): Update comments.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-114
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 11 Mar 2004 01:11:38 +0000 |
parents | 03a73693678e |
children | 69ebc75cb461 |
comparison
equal
deleted
inserted
replaced
83073:ced0b1beba09 | 83074:34a7a8f40548 |
---|---|
772 && (frame_var = XCAR (list_var), 1)); \ | 772 && (frame_var = XCAR (list_var), 1)); \ |
773 list_var = XCDR (list_var)) | 773 list_var = XCDR (list_var)) |
774 | 774 |
775 | 775 |
776 extern Lisp_Object Qframep, Qframe_live_p; | 776 extern Lisp_Object Qframep, Qframe_live_p; |
777 extern Lisp_Object Qtty, Qtty_type; | |
777 | 778 |
778 extern struct frame *last_nonminibuf_frame; | 779 extern struct frame *last_nonminibuf_frame; |
779 | 780 |
780 extern struct frame *make_initial_frame P_ ((void)); | 781 extern struct frame *make_initial_frame P_ ((void)); |
781 extern struct frame *make_terminal_frame P_ ((char *, char *)); | 782 extern struct frame *make_terminal_frame P_ ((char *, char *)); |