* window.c (window_internal_width): New function.
authorJim Blandy <jimb@redhat.com>
Thu, 14 Jan 1993 15:12:23 +0000 (15:12 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 14 Jan 1993 15:12:23 +0000 (15:12 +0000)
commit02213e820fc8adebeed50fa3a38cbe74ab6ade1a
tree19774bf2b912b31e365da328edd6615f06e0ad93
parent7b4aedb99a873adcac8f217868e175524d94d47e
* window.c (window_internal_width): New function.
* lisp.h (window_internal_height, window_internal_width): Add
extern declarations for these.
* dispnew.c (direct_output_for_insert, direct_output_forward_char,
buffer_posn_from_coords): Use window_internal_width instead of
writing out its definition.
* indent.c (compute_motion): Doc fix; mention scrollbars and
window_internal_width.
(pos_tab_offset, Fvertical_motion): Use window_internal_width
instead of writing it out.
* window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
Fscroll_right): Same.
* xdisp.c (redisplay, try_window, try_window_id,
display_text_line): Same.

* emacs.c (shut_down_emacs): New function.
(fatal_error_signal, Fkill_emacs): Call it, instead of writing it out.
* xterm.c (x_connection_closed): Call shut_down_emacs instead of
Fkill_emacs; the latter will try to perform operations on the X
server and die a horrible death.
* lisp.h (shut_down_emacs): Add extern declaration for it.
src/lisp.h