changeset 98385:8f747339c80c

(comint-show-output): Adjust to stickiness changes of the output field.
author Romain Francoise <romain@orebokech.com>
date Sun, 28 Sep 2008 16:56:48 +0000
parents 2fee4892d51a
children 48cf5d8c02af
files lisp/ChangeLog lisp/comint.el
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Sep 28 09:37:09 2008 +0000
+++ b/lisp/ChangeLog	Sun Sep 28 16:56:48 2008 +0000
@@ -1,5 +1,8 @@
 2008-09-28  Romain Francoise  <romain@orebokech.com>
 
+	* comint.el (comint-show-output): Adjust to stickiness changes of
+	the output field.
+
 	* startup.el (command-line): Start the daemon server later.
 
 2008-09-28  Martin Rudalics  <rudalics@gmx.at>
--- a/lisp/comint.el	Sun Sep 28 09:37:09 2008 +0000
+++ b/lisp/comint.el	Sun Sep 28 16:56:48 2008 +0000
@@ -2125,11 +2125,7 @@
 	   (set-window-start (selected-window) (point))
 	   (comint-skip-prompt))
 	  (t
-	   (let* ((beg (field-beginning pos))
-		  (pt (if (= (point-min) beg)
-			  (point-min)
-			(1+ beg))))
-	     (goto-char pt))
+	   (goto-char (field-beginning pos))
 	   (set-window-start (selected-window) (point))))))