Commit 043442b4 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(compilation-start): Always set compilation-last-buffer and return it.

parent 3f2c97ea
......@@ -927,9 +927,9 @@ exited abnormally with code %d\n"
(if (buffer-local-value 'compilation-scroll-output outbuf)
(save-selected-window
(select-window outwin)
(goto-char (point-max)))
;; Make it so the next C-x ` will use this buffer.
(setq compilation-last-buffer outbuf))))
(goto-char (point-max))))
;; Make it so the next C-x ` will use this buffer.
(setq compilation-last-buffer outbuf)))
(defun compilation-set-window-height (window)
"Set the height of WINDOW according to `compilation-window-height'."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment