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

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

compile.el


From: Tobias Ringstrom
Subject: compile.el
Date: Tue, 20 Mar 2001 13:15:41 +0100 (MET)

The emacs compile mode opens a new compile message window the first time you
compile in a new frame, even if you already have a compile window in another
frame.  This patch makes emacs open only one compile window.  The user can open
more windows manually if needed.  One example of when this patch is useful is
to make it possible to have a dedicated compile message frame, not window.

The patch is for emacs 20.7, but should apply to almost any version.

/Tobias Ringström

--- lisp/progmodes/compile.el   Sun Jun 27 23:42:01 1999
+++ compile.el  Tue Mar 20 13:06:47 2001
@@ -755,7 +755,7 @@
       (if (eq outbuf (current-buffer))
          (goto-char (point-max)))
       ;; Pop up the compilation buffer.
-      (setq outwin (display-buffer outbuf))
+      (setq outwin (display-buffer outbuf nil t))
       (save-excursion
        (set-buffer outbuf)
        (compilation-mode name-of-mode)



reply via email to

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