Don't treat minibuffer window specially.
(current (current-buffer))
(process (get-buffer-process current))
(scroll comint-scroll-to-bottom-on-output))
- (if (and process (not (window-minibuffer-p selected)))
+ (if process
(walk-windows
(function (lambda (window)
(if (eq (window-buffer window) current)
(goto-char (point-max))
(recenter -1)))
(select-window selected)))))
- 'not-minibuf t))))
+ nil t))))
(defun comint-show-maximum-output ()
"Put the end of the buffer at the bottom of the window."