help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop compilation mode from splitting the window


From: martin rudalics
Subject: Re: Stop compilation mode from splitting the window
Date: Sun, 24 Jul 2011 19:06:00 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]