aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-03-10 11:23:32 +0000
committerKaroly Lorentey2006-03-10 11:23:32 +0000
commitd2b86d7f40873f053489f386f7ab926bbb226bef (patch)
tree8c617fed23a63e9dca406fa1aa5daa7f0f0919b6 /src/window.c
parentdb9d7d9a54118c277fdc47b2840139e78218b1ae (diff)
parent61e66a158a521e1ebdaa2e547dcc98d383674a75 (diff)
downloademacs-d2b86d7f40873f053489f386f7ab926bbb226bef.tar.gz
emacs-d2b86d7f40873f053489f386f7ab926bbb226bef.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-136 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-137 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-138 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-139 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-140 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-141 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-142 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-143 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/gnus--rel--5.10--patch-49 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-50 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-51 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-52 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-53 Update from CVS: Makefile.in (release-*): New targets. * emacs@sv.gnu.org/gnus--rel--5.10--patch-54 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-55 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-527
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 36050ac649e..bc9a956994a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -217,6 +217,10 @@ Lisp_Object Vscroll_preserve_screen_position;
217 217
218int window_deletion_count; 218int window_deletion_count;
219 219
220/* Used by the function window_scroll_pixel_based */
221
222static int preserve_y;
223
220#if 0 /* This isn't used anywhere. */ 224#if 0 /* This isn't used anywhere. */
221/* Nonzero means we can split a frame even if it is "unsplittable". */ 225/* Nonzero means we can split a frame even if it is "unsplittable". */
222static int inhibit_frame_unsplittable; 226static int inhibit_frame_unsplittable;
@@ -4726,7 +4730,6 @@ window_scroll_pixel_based (window, n, whole, noerror)
4726 int this_scroll_margin; 4730 int this_scroll_margin;
4727 /* True if we fiddled the window vscroll field without really scrolling. */ 4731 /* True if we fiddled the window vscroll field without really scrolling. */
4728 int vscrolled = 0; 4732 int vscrolled = 0;
4729 static int preserve_y = -1;
4730 4733
4731 SET_TEXT_POS_FROM_MARKER (start, w->start); 4734 SET_TEXT_POS_FROM_MARKER (start, w->start);
4732 4735
@@ -7024,6 +7027,8 @@ syms_of_window ()
7024 minibuf_selected_window = Qnil; 7027 minibuf_selected_window = Qnil;
7025 staticpro (&minibuf_selected_window); 7028 staticpro (&minibuf_selected_window);
7026 7029
7030 preserve_y = -1;
7031
7027 DEFVAR_LISP ("temp-buffer-show-function", &Vtemp_buffer_show_function, 7032 DEFVAR_LISP ("temp-buffer-show-function", &Vtemp_buffer_show_function,
7028 doc: /* Non-nil means call as function to display a help buffer. 7033 doc: /* Non-nil means call as function to display a help buffer.
7029The function is called with one argument, the buffer to be displayed. 7034The function is called with one argument, the buffer to be displayed.