Subject: bug#8862: Stop compilation mode from splitting the window

From: martin rudalics <[email-masked]>
Date: Sun, 24 Jul 2011 19:06:00 +0200

> 8862 is broken again.

Sorry.

 > Please tell me a way to stop compilation mode from splitting the window!

Does

(setq display-buffer-alist
       (cons '(((regexp . "\\*compilation.+\\*"))
	      (function ; was "fun-with-args" before
	       (lambda (buffer &rest args)
		 (delete-other-windows)
		 (let (display-buffer-alist)
		   (display-buffer buffer 'same-window))))
	      (override . t))
	    display-buffer-alist))

work?

martin