aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-01-03 22:38:10 +0000
committerRichard M. Stallman2004-01-03 22:38:10 +0000
commitb34e9a285fdab78ad2d72284b04c8b5f0d2d38c5 (patch)
tree32ca9c8bb20fd2b5875baaaf1c06281e6b4858ac
parente995d23a399cdc4c21d2ea515f708d6bc19ef4ab (diff)
downloademacs-b34e9a285fdab78ad2d72284b04c8b5f0d2d38c5.tar.gz
emacs-b34e9a285fdab78ad2d72284b04c8b5f0d2d38c5.zip
(compile-internal): Use point, not point-min, for set-window-point.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/compile.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c2311e789ea..82dc0171dcf 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12004-01-03 Richard M. Stallman <rms@gnu.org> 12004-01-03 Richard M. Stallman <rms@gnu.org>
2 2
3 * progmodes/compile.el (compile-internal): Use point, not point-min,
4 for set-window-point.
5
3 * textmodes/tex-mode.el (latex-find-indent): Avoid error at end of buf. 6 * textmodes/tex-mode.el (latex-find-indent): Avoid error at end of buf.
4 7
5 * emacs-lisp/lisp-mnt.el (lm-section-end): require outline. 8 * emacs-lisp/lisp-mnt.el (lm-section-end): require outline.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 6d76fe3384a..de050411411 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -754,7 +754,7 @@ Returns the compilation buffer created."
754 compilation-directory-stack (list default-directory)) 754 compilation-directory-stack (list default-directory))
755 (set-window-start outwin (point-min)) 755 (set-window-start outwin (point-min))
756 (or (eq outwin (selected-window)) 756 (or (eq outwin (selected-window))
757 (set-window-point outwin (point-min))) 757 (set-window-point outwin (point)))
758 ;; The setup function is called before compilation-set-window-height 758 ;; The setup function is called before compilation-set-window-height
759 ;; so it can set the compilation-window-height buffer locally. 759 ;; so it can set the compilation-window-height buffer locally.
760 (if compilation-process-setup-function 760 (if compilation-process-setup-function