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

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

Re: Load other program from emacs


From: Kevin Rodgers
Subject: Re: Load other program from emacs
Date: Thu, 06 Nov 2003 11:20:53 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

[Please don't top-post.]

Richard wrote:

Thanks a lot! It workds very well except a buffer call 'Async Shell
Command' popup. It not a problem, but if any method can hide it
automatically will make things better.

(defadvice display-buffer (around async-shell-command activate)
  "If BUFFER is named *Async Shell Command*, don't display it."
  (or (and (bufferp (ad-get-arg 0))
           (equal (buffer-name (ad-get-arg 0)) "*Async Shell Command*"))
      ad-do-it))

--
Kevin Rodgers



reply via email to

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