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 the compilation-mode-hook the sole visib


From: Thien-Thi Nguyen
Subject: Re: all I wanted to do was make the compilation-mode-hook the sole visible buffer
Date: Tue, 06 Dec 2011 15:37:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() address@hidden
() Wed, 30 Nov 2011 20:23:35 +0800

   >>>>> "VB" == Valentin Baciu <address@hidden> writes:
   VB> (add-hook 'compilation-mode-hook 'delete-other-windows)
   Very elegant however it doesn't work.
   emacs-version "24.0.91.1"

(defun solipsistic-child (process)
  "Me, me, look at me!"
  (with-current-buffer (process-buffer process) 
    (delete-other-windows)))

(add-hook 'compilation-start-hook 'solipsistic-child)




reply via email to

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