|Subject:||Re: Distinguishing between interactive and asynchronous shell buffers|
|Date:||Tue, 22 Feb 2011 13:59:41 -0600|
On Feb 22, 2011, at 12:48 PM, Sean McAfee wrote:
Hmm... your are right:
So, my (oh dear, I just walked into an awful pun) advice at this point
is to look at "advice" in the lisp manual. I've never used it but
it seems to allow you to wrap a function with some extra code. In
that code, maybe set a buffer local variable that you could later test.
The other alternatives would be not to use & for shell-commands or look
at mode-name first. If it is shell then look at the buffers name and
if it isn't "Async ... whatever", then its an interactive shell buffer.
Sorry to be so vague.
|[Prev in Thread]||Current Thread||[Next in Thread]|