emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/term.el,v


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/term.el,v
Date: Tue, 20 Jun 2006 18:12:31 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Dan Nicolaescu <dann>   06/06/20 18:12:26

Index: term.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/term.el,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- term.el     15 Jun 2006 22:58:10 -0000      1.84
+++ term.el     20 Jun 2006 18:12:23 -0000      1.85
@@ -3768,6 +3768,9 @@
        (save-start-line-column term-start-line-column)
        (save-current-row (term-current-row)))
     ;; The number of inserted lines shouldn't exceed the scroll region end.
+    ;; The `term-scroll-end' line is part of the scrolling region, so
+    ;; we need to go one line past it in order to ensure correct
+    ;; scrolling.
     (when (> (+ save-current-row lines) (1+ term-scroll-end))
       (setq lines (- lines (- (+ save-current-row lines) (1+ 
term-scroll-end)))))
     (term-down lines)
@@ -3786,6 +3789,9 @@
        (save-start-line-column term-start-line-column)
        (save-current-row (term-current-row)))
     ;; Inserting lines should take into account the scroll region.
+    ;; The `term-scroll-end' line is part of the scrolling region, so
+    ;; we need to go one line past it in order to ensure correct
+    ;; scrolling.
     (if (< save-current-row term-scroll-start)
        ;; If point is before scroll start, 
        (progn 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]