X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2c8e37d4977b0474872c51ea2700bf73c7436d3c..94f0aa3464955865f5abdac6b335a86aca3e180a:/src/window.h diff --git a/src/window.h b/src/window.h index 236464775d..ea127ca95a 100644 --- a/src/window.h +++ b/src/window.h @@ -1,5 +1,5 @@ /* Window definitions for GNU Emacs. - Copyright (C) 1985-1986, 1993, 1995, 1997-2011 + Copyright (C) 1985-1986, 1993, 1995, 1997-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -165,10 +165,6 @@ struct window /* Unique number of window assigned when it was created. */ Lisp_Object sequence_number; - /* Sequence number of window this window was cloned from. Identic - to sequence number if window was not cloned. */ - Lisp_Object clone_number; - /* No permanent meaning; used by save-window-excursion's bookkeeping. */ Lisp_Object temslot; @@ -262,13 +258,8 @@ struct window must run the redisplay-end-trigger-hook. */ Lisp_Object redisplay_end_trigger; - /* Non-nil means deleting or resizing this window distributes - space among all windows in the same combination. */ - Lisp_Object splits; - - /* Non-nil means this window's child windows are never - (re-)combined. */ - Lisp_Object nest; + /* t means this window's child windows are not (re-)combined. */ + Lisp_Object combination_limit; /* Alist of triples listing buffers previously shown in this window. */ @@ -277,7 +268,7 @@ struct window /* List of buffers re-shown in this window. */ Lisp_Object next_buffers; - /* An alist with parameteres. */ + /* An alist with parameters. */ Lisp_Object window_parameters; /* No Lisp data may follow below this point without changing @@ -827,7 +818,8 @@ extern Lisp_Object make_window (void); extern Lisp_Object window_from_coordinates (struct frame *, int, int, enum window_part *, int); EXFUN (Fwindow_dedicated_p, 1); -extern void delete_all_subwindows (Lisp_Object); +extern void resize_frame_windows (struct frame *, int, int); +extern void delete_all_child_windows (Lisp_Object); extern void freeze_window_starts (struct frame *, int); extern void grow_mini_window (struct window *, int); extern void shrink_mini_window (struct window *); @@ -850,11 +842,11 @@ extern Lisp_Object echo_area_window; /* Depth in recursive edits. */ -extern int command_loop_level; +extern EMACS_INT command_loop_level; /* Depth in minibuffer invocations. */ -extern int minibuf_level; +extern EMACS_INT minibuf_level; /* true if we should redraw the mode lines on the next redisplay. */ @@ -885,7 +877,7 @@ extern int buffer_shared; extern void check_frame_size (struct frame *frame, int *rows, int *cols); /* Return a pointer to the glyph W's physical cursor is on. Value is - null if W's current matrix is invalid, so that no meaningfull glyph + null if W's current matrix is invalid, so that no meaningful glyph can be returned. */ struct glyph *get_phys_cursor_glyph (struct window *w); @@ -902,7 +894,6 @@ extern Lisp_Object Qwindowp, Qwindow_live_p; extern Lisp_Object Vwindow_list; EXFUN (Fwindow_buffer, 1); -EXFUN (Fwindow_frame, 1); EXFUN (Fget_buffer_window, 2); EXFUN (Fwindow_minibuffer_p, 1); EXFUN (Fselected_window, 0); @@ -918,16 +909,11 @@ extern int window_internal_height (struct window *); extern int window_body_cols (struct window *w); EXFUN (Frecenter, 1); extern void temp_output_buffer_show (Lisp_Object); -extern void replace_buffer_in_all_windows (Lisp_Object); +extern void replace_buffer_in_windows (Lisp_Object); +extern void replace_buffer_in_windows_safely (Lisp_Object); extern void init_window_once (void); extern void init_window (void); extern void syms_of_window (void); extern void keys_of_window (void); -extern void resize_frame_windows (struct frame *, int, int); -extern int resize_window_check (struct window *, int); -extern Lisp_Object delete_deletable_window (Lisp_Object); -extern Lisp_Object resize_root_window (Lisp_Object, Lisp_Object, Lisp_Object, - Lisp_Object); - #endif /* not WINDOW_H_INCLUDED */