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

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

Re: M-x grep/compile clobbers other buffers


From: Dan Debertin
Subject: Re: M-x grep/compile clobbers other buffers
Date: 13 Jan 2003 14:28:07 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:


> You can dedicate a window to a buffer, M-x apropos RET dedicat RET.
> It's not a command, I think, so you have to invoke some Lisp.
> 
> Does this help?

Yes, that's exactly what I was looking for. This appears to do what I
want --

(add-hook 'shell-mode-hook 
          '((lambda ()
              (set-window-dedicated-p (selected-window) t))))
        
Thanks; I knew there had to be something for that.

Dan
--
/^Dan Debertin$/         
airboss@nodewarrior.org  | Did I sleep a little too late,
www.nodewarrior.org      | or am I awake?        --Byrne


reply via email to

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