comparison lisp/startup.el @ 83021:32bf8e7cc0c2

Fixed tty faces during combo sessions. Plus other assorted bugfixes. lisp/startup.el (command-line): Always call tty-register-default-colors. src/dispextern.h (delete_tty): Added missing prototype. src/keyboard.c (read_avail_input): Close display gracefully if needed. Kill Emacs if the last display is to be closed. (tty_read_avail_input): Don't call delete_tty and don't signal hangup here; return -2 instead to indicate the non-transient failure to read_avail_input. src/term.c (delete_tty): Removed superflous wiping of the deleted frames' output_data field. (delete_display): Check for and close live frames that are still on the display. src/termhooks.h (read_socket_hook, delete_display_hook): Added detailed comment. src/xfaces.c (realize_face): Create a dummy face for the initial frame. (Reported by Robert J. Chassell (bob at rattlenake dot com).) git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-61
author Karoly Lorentey <lorentey@elte.hu>
date Fri, 23 Jan 2004 21:48:58 +0000
parents 1465425fe2d3
children bc4c00966ad3
comparison
equal deleted inserted replaced
83020:d617fe346b2b 83021:32bf8e7cc0c2
870 (setq-default tooltip-mode t) 870 (setq-default tooltip-mode t)
871 (tooltip-mode 1)) 871 (tooltip-mode 1))
872 872
873 ;; Register default TTY colors for the case the terminal hasn't a 873 ;; Register default TTY colors for the case the terminal hasn't a
874 ;; terminal init file. 874 ;; terminal init file.
875 (unless (memq initial-window-system '(x w32)) 875 ;; We do this regardles of whether the terminal supports colors
876 ;; We do this regardles of whether the terminal supports colors 876 ;; or not, since they can switch that support on or off in
877 ;; or not, since they can switch that support on or off in 877 ;; mid-session by setting the tty-color-mode frame parameter.
878 ;; mid-session by setting the tty-color-mode frame parameter. 878 (tty-register-default-colors)
879 (tty-register-default-colors))
880 879
881 ;; Record whether the tool-bar is present before the user and site 880 ;; Record whether the tool-bar is present before the user and site
882 ;; init files are processed. frame-notice-user-settings uses this 881 ;; init files are processed. frame-notice-user-settings uses this
883 ;; to determine if the tool-bar has been disabled by the init files, 882 ;; to determine if the tool-bar has been disabled by the init files,
884 ;; and the frame needs to be resized. 883 ;; and the frame needs to be resized.