# HG changeset patch # User Kim F. Storm # Date 1079655703 0 # Node ID 6ea174960a937302396a9eb23bf0e8737ce7869c # Parent 802a91a2e43ac346fe593d78ad500d406df56cd9 (compilation-start): Always set compilation-last-buffer and return it. diff -r 802a91a2e43a -r 6ea174960a93 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Thu Mar 18 20:26:01 2004 +0000 +++ b/lisp/progmodes/compile.el Fri Mar 19 00:21:43 2004 +0000 @@ -927,9 +927,9 @@ (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'."