diff options
| author | Jim Blandy | 1993-01-14 15:12:23 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-01-14 15:12:23 +0000 |
| commit | 02213e820fc8adebeed50fa3a38cbe74ab6ade1a (patch) | |
| tree | 19774bf2b912b31e365da328edd6615f06e0ad93 | |
| parent | 7b4aedb99a873adcac8f217868e175524d94d47e (diff) | |
| download | emacs-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.
| -rw-r--r-- | src/lisp.h | 2 |
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 (); | |||
| 1138 | extern Lisp_Object Fset_window_configuration (), Fcurrent_window_configuration (); | 1138 | extern Lisp_Object Fset_window_configuration (), Fcurrent_window_configuration (); |
| 1139 | extern Lisp_Object Fcoordinates_in_window_p (); | 1139 | extern Lisp_Object Fcoordinates_in_window_p (); |
| 1140 | extern Lisp_Object Fwindow_at (); | 1140 | extern Lisp_Object Fwindow_at (); |
| 1141 | extern int window_internal_height (), window_internal_width (); | ||
| 1141 | 1142 | ||
| 1142 | /* defined in frame.c */ | 1143 | /* defined in frame.c */ |
| 1143 | extern Lisp_Object Fframep (); | 1144 | extern 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 */ |
| 1176 | extern Lisp_Object decode_env_path (); | 1177 | extern Lisp_Object decode_env_path (); |
| 1178 | void 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 */ |
| 1178 | extern int noninteractive; | 1180 | extern 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 */ |