[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Who creates *Compile-Log* buffer?
From: |
Kevin Rodgers |
Subject: |
Re: Who creates *Compile-Log* buffer? |
Date: |
Tue, 20 Jan 2004 12:24:39 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
bigfaceworm wrote:
> I'm often switching to the '*compilation*' buffer, and
> the '*Compile-Log*' buffer gets in the way of TAB completion.
> The log buffer is always empty (when I check) and I am usually
> just editing/compiling C/C++ files, and reading mail with
> Gnus.
If you have a piece of advice defined with the compile keyword, you'll
get a *Compile-Log* buffer. I have a couple loaded by my .emacs file:
(defadvice compilation-goto-locus (after highlight activate compile)
(defadvice minibuffer-complete (around cycle (&optional count) activate compile)
> I'd like to rename (permanently) the *Compile-Log* buffer to
> something else, or kill it (permanently). Any help?
(add-hook 'emacs-startup-hook
(lambda ()
(let ((compile-log-buffer (get-buffer "*Compile-Log*")))
(when (and compile-log-buffer
(= (buffer-size compile-log-buffer) 0))
(kill-buffer compile-log-buffer)))))
--
Kevin Rodgers