comparison src/window.c @ 83292:ad07ff6e4555

Merged from miles@gnu.org--gnu-2005 (patch 67, 270-278) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-270 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-271 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-272 src/xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-273 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-274 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-275 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-276 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-277 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-278 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-67 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-332
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 25 Apr 2005 11:49:38 +0000
parents 042f282a2ed7 71259596d397
children effe22690419
comparison
equal deleted inserted replaced
83291:bbf359ec4a59 83292:ad07ff6e4555
78 Lisp_Object *)); 78 Lisp_Object *));
79 static int foreach_window_1 P_ ((struct window *, 79 static int foreach_window_1 P_ ((struct window *,
80 int (* fn) (struct window *, void *), 80 int (* fn) (struct window *, void *),
81 void *)); 81 void *));
82 static Lisp_Object window_list_1 P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 82 static Lisp_Object window_list_1 P_ ((Lisp_Object, Lisp_Object, Lisp_Object));
83
84 /* The value of `window-size-fixed'. */
85
86 int window_size_fixed;
87 83
88 /* This is the window in which the terminal's cursor should 84 /* This is the window in which the terminal's cursor should
89 be left when nothing is being done with it. This must 85 be left when nothing is being done with it. This must
90 always be a leaf window, and its buffer is selected by 86 always be a leaf window, and its buffer is selected by
91 the top level editing loop at the end of each command. 87 the top level editing loop at the end of each command.
6669 void 6665 void
6670 syms_of_window () 6666 syms_of_window ()
6671 { 6667 {
6672 Qwindow_size_fixed = intern ("window-size-fixed"); 6668 Qwindow_size_fixed = intern ("window-size-fixed");
6673 staticpro (&Qwindow_size_fixed); 6669 staticpro (&Qwindow_size_fixed);
6670 Fset (Qwindow_size_fixed, Qnil);
6674 6671
6675 staticpro (&Qwindow_configuration_change_hook); 6672 staticpro (&Qwindow_configuration_change_hook);
6676 Qwindow_configuration_change_hook 6673 Qwindow_configuration_change_hook
6677 = intern ("window-configuration-change-hook"); 6674 = intern ("window-configuration-change-hook");
6678 6675
6876 DEFVAR_LISP ("window-configuration-change-hook", 6873 DEFVAR_LISP ("window-configuration-change-hook",
6877 &Vwindow_configuration_change_hook, 6874 &Vwindow_configuration_change_hook,
6878 doc: /* Functions to call when window configuration changes. 6875 doc: /* Functions to call when window configuration changes.
6879 The selected frame is the one whose configuration has changed. */); 6876 The selected frame is the one whose configuration has changed. */);
6880 Vwindow_configuration_change_hook = Qnil; 6877 Vwindow_configuration_change_hook = Qnil;
6881
6882 DEFVAR_BOOL ("window-size-fixed", &window_size_fixed,
6883 doc: /* Non-nil in a buffer means windows displaying the buffer are fixed-size.
6884 If the value is`height', then only the window's height is fixed.
6885 If the value is `width', then only the window's width is fixed.
6886 Any other non-nil value fixes both the width and the height.
6887 Emacs won't change the size of any window displaying that buffer,
6888 unless you explicitly change the size, or Emacs has no other choice. */);
6889 Fmake_variable_buffer_local (Qwindow_size_fixed);
6890 window_size_fixed = 0;
6891 6878
6892 defsubr (&Sselected_window); 6879 defsubr (&Sselected_window);
6893 defsubr (&Sminibuffer_window); 6880 defsubr (&Sminibuffer_window);
6894 defsubr (&Swindow_minibuffer_p); 6881 defsubr (&Swindow_minibuffer_p);
6895 defsubr (&Swindowp); 6882 defsubr (&Swindowp);