term-scroll-with-delete
term-scroll-with-delete is a variable defined in `term.el
'.
Its value is nilDocumentation: If t, forward scrolling should be implemented by delete to top-most line(s); and if nil, scrolling should be implemented by moving term-home-marker. It is set to t if there is a (non-default) scroll-region OR the alternate buffer is used.