1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(compile-internal): Use point, not point-min, for set-window-point.

This commit is contained in:
Richard M. Stallman 2004-01-03 22:38:10 +00:00
parent e995d23a39
commit b34e9a285f
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-01-03 Richard M. Stallman <rms@gnu.org>
* progmodes/compile.el (compile-internal): Use point, not point-min,
for set-window-point.
* textmodes/tex-mode.el (latex-find-indent): Avoid error at end of buf.
* emacs-lisp/lisp-mnt.el (lm-section-end): require outline.

View File

@ -754,7 +754,7 @@ Returns the compilation buffer created."
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