]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct buffer): New field point_before_scroll.
authorRichard M. Stallman <rms@gnu.org>
Fri, 27 Jan 1995 07:18:11 +0000 (07:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 27 Jan 1995 07:18:11 +0000 (07:18 +0000)
src/buffer.h

index 16d8bc68f8f8f660ec9ea826645d1516a39745b9..76cbf0ba4c03e6b0151075a63635ab17533d918c 100644 (file)
@@ -382,6 +382,10 @@ struct buffer
        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;
   };
 \f
 /* This points to the current buffer.  */