aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-01-14 15:12:23 +0000
committerJim Blandy1993-01-14 15:12:23 +0000
commit02213e820fc8adebeed50fa3a38cbe74ab6ade1a (patch)
tree19774bf2b912b31e365da328edd6615f06e0ad93 /src
parent7b4aedb99a873adcac8f217868e175524d94d47e (diff)
downloademacs-02213e820fc8adebeed50fa3a38cbe74ab6ade1a.tar.gz
emacs-02213e820fc8adebeed50fa3a38cbe74ab6ade1a.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index de0d53f79e7..70fd2894c94 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1138,6 +1138,7 @@ extern Lisp_Object Fsave_window_excursion ();
1138extern Lisp_Object Fset_window_configuration (), Fcurrent_window_configuration (); 1138extern Lisp_Object Fset_window_configuration (), Fcurrent_window_configuration ();
1139extern Lisp_Object Fcoordinates_in_window_p (); 1139extern Lisp_Object Fcoordinates_in_window_p ();
1140extern Lisp_Object Fwindow_at (); 1140extern Lisp_Object Fwindow_at ();
1141extern int window_internal_height (), window_internal_width ();
1141 1142
1142/* defined in frame.c */ 1143/* defined in frame.c */
1143extern Lisp_Object Fframep (); 1144extern Lisp_Object Fframep ();
@@ -1174,6 +1175,7 @@ extern Lisp_Object Frubber_band_rectangle ();
1174 1175
1175/* defined in emacs.c */ 1176/* defined in emacs.c */
1176extern Lisp_Object decode_env_path (); 1177extern Lisp_Object decode_env_path ();
1178void shut_down_emacs ( /* int signal */ );
1177/* Nonzero means don't do interactive redisplay and don't change tty modes */ 1179/* Nonzero means don't do interactive redisplay and don't change tty modes */
1178extern int noninteractive; 1180extern int noninteractive;
1179/* Nonzero means don't do use window-system-specific display code */ 1181/* Nonzero means don't do use window-system-specific display code */