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:
parent
e995d23a39
commit
b34e9a285f
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user