summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-27 07:18:11 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-27 07:18:11 +0000
commit2e4a1e1f7e99dec3eba6da6c8355461cbd4d7a0a (patch)
treecf3421a7cd04692ae1b3190a0f48e281fd754f64 /src/buffer.h
parent943e065b3c5e5cb2ec81a2222f03faab864a562f (diff)
downloademacs-2e4a1e1f7e99dec3eba6da6c8355461cbd4d7a0a.tar.gz
(struct buffer): New field point_before_scroll.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 16d8bc68f8f..76cbf0ba4c0 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -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;
};
/* This points to the current buffer. */