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

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

Re: help with erc function


From: someusernamehere
Subject: Re: help with erc function
Date: Sat, 1 Mar 2008 07:51:55 -0800 (PST)
User-agent: G2/1.0

Bastien escreveu:

> > (defun kick (nick)
> >   (let* ((chan (erc-default-target)))
> >          (erc-send-command (format "kick %s %s %s" chan nick "go
> > away"))))
>
> Well - maybe you can temporarilly switch to the relevant ERC buffer so
> that (erc-default-target) returns the channel you want to use?


yeah, but how to switch to the buffer what I want?, so I have joined
e.g. 4 channels, how to tell to erc switch to proper buffer,
automaticaly of course?


reply via email to

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