diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2004-03-11 01:11:38 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2004-03-11 01:11:38 +0000 |
commit | 2666355c452f1b1502752b7b1095a4eca16e9449 (patch) | |
tree | 581d5693e58564c740689a8bda15b45af57e9a45 /src/frame.h | |
parent | a0dec7068abe55dbc56ecd029189d6eb1ad12d62 (diff) | |
download | emacs-2666355c452f1b1502752b7b1095a4eca16e9449.tar.gz |
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
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h index 5037ffd0553..2d87913309f 100644 --- a/src/frame.h +++ b/src/frame.h @@ -774,6 +774,7 @@ typedef struct frame *FRAME_PTR; extern Lisp_Object Qframep, Qframe_live_p; +extern Lisp_Object Qtty, Qtty_type; extern struct frame *last_nonminibuf_frame; |