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. */