[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/window.c
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/src/window.c |
Date: |
Thu, 09 Mar 2006 03:43:23 +0000 |
Index: emacs/src/window.c
diff -u emacs/src/window.c:1.537 emacs/src/window.c:1.538
--- emacs/src/window.c:1.537 Tue Feb 28 14:52:46 2006
+++ emacs/src/window.c Thu Mar 9 03:43:23 2006
@@ -215,6 +215,10 @@
int window_deletion_count;
+/* Used by the function window_scroll_pixel_based */
+
+static int preserve_y;
+
#if 0 /* This isn't used anywhere. */
/* Nonzero means we can split a frame even if it is "unsplittable". */
static int inhibit_frame_unsplittable;
@@ -4724,7 +4728,6 @@
int this_scroll_margin;
/* True if we fiddled the window vscroll field without really scrolling. */
int vscrolled = 0;
- static int preserve_y = -1;
SET_TEXT_POS_FROM_MARKER (start, w->start);
@@ -7022,6 +7025,8 @@
minibuf_selected_window = Qnil;
staticpro (&minibuf_selected_window);
+ preserve_y = -1;
+
DEFVAR_LISP ("temp-buffer-show-function", &Vtemp_buffer_show_function,
doc: /* Non-nil means call as function to display a help buffer.
The function is called with one argument, the buffer to be displayed.