changeset 53493:9c894a0b07df

(compile-internal): Use point, not point-min, for set-window-point.
author Richard M. Stallman <rms@gnu.org>
date Sat, 03 Jan 2004 22:38:03 +0000
parents 6861a5210fdb
children 9251d234996d
files lisp/progmodes/compile.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Sat Jan 03 21:17:51 2004 +0000
+++ b/lisp/progmodes/compile.el	Sat Jan 03 22:38:03 2004 +0000
@@ -754,7 +754,7 @@
 	      compilation-directory-stack (list default-directory))
 	(set-window-start outwin (point-min))
 	(or (eq outwin (selected-window))
-	    (set-window-point outwin (point-min)))
+	    (set-window-point outwin (point)))
 	;; The setup function is called before compilation-set-window-height
 	;; so it can set the compilation-window-height buffer locally.
 	(if compilation-process-setup-function