changeset 10562:ddc863fd062b

(struct buffer): New field point_before_scroll.
author Richard M. Stallman <rms@gnu.org>
date Fri, 27 Jan 1995 07:18:11 +0000
parents 53f34c870201
children d35f5eca6dd5
files src/buffer.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.h	Fri Jan 27 07:17:39 1995 +0000
+++ b/src/buffer.h	Fri Jan 27 07:18:11 1995 +0000
@@ -382,6 +382,10 @@
        indirect buffer, this holds a marker that records
        ZV for this buffer when the buffer is not current.  */
     Lisp_Object zv_marker;
+
+    /* This holds the point value before the last scroll operation.
+       Explicitly setting point sets this to nil.  */
+    Lisp_Object point_before_scroll;
   };
 
 /* This points to the current buffer.  */