emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Eamcs 22.1 comint-scroll-show-maximum-output bug]


From: Richard Stallman
Subject: Re: address@hidden: Eamcs 22.1 comint-scroll-show-maximum-output bug]
Date: Sun, 26 Aug 2007 23:07:57 -0400

Does this fix the bug?

*** comint.el   25 Jul 2007 11:49:09 -0400      1.361.2.2
--- comint.el   26 Aug 2007 21:04:46 -0400      
***************
*** 1875,1883 ****
                     ;; ends at the bottom of the window.
                     (if (and comint-scroll-show-maximum-output
                              (= (point) (point-max)))
!                        (save-excursion
!                          (goto-char (point-max))
!                          (recenter (- -1 scroll-margin))))
                     (select-window selected)))))
             nil t))
        (set-buffer current))))
--- 1875,1884 ----
                     ;; ends at the bottom of the window.
                     (if (and comint-scroll-show-maximum-output
                              (= (point) (point-max)))
!                        (let ((scroll-conservatively nil))
!                          (save-excursion
!                            (goto-char (point-max))
!                            (recenter (- -1 scroll-margin)))))
                     (select-window selected)))))
             nil t))
        (set-buffer current))))




reply via email to

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