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

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

Re: all I wanted to do was make *compilation* the sole visible buffer


From: Thien-Thi Nguyen
Subject: Re: all I wanted to do was make *compilation* the sole visible buffer
Date: Sat, 10 Dec 2011 22:02:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() jidanni@jidanni.org
() Fri, 09 Dec 2011 07:46:06 +0800

   >>>>> "TN" == Thien-Thi Nguyen <ttn@gnuvola.org> writes:
   TN> (defun solipsistic-child (process)
   TN>   "Me, me, look at me!"
   TN>   (with-current-buffer (process-buffer process)
   TN>     (delete-other-windows)))
   TN> (add-hook 'compilation-start-hook 'solipsistic-child)
   Very nice, except it leaves the user staring at the... Makefile, not 
*compilation*.

You have to combine this with setting the other variable
(which i mentioned previously and promptly forgot).



reply via email to

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