[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: custom ERC IRC /command
From: |
Basil L. Contovounesios |
Subject: |
Re: custom ERC IRC /command |
Date: |
Sat, 16 Mar 2019 12:26:37 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Emanuel Berg <address@hidden> writes:
> How can I make a custom ERC IRC command,
> e.g. /r which is unbound in
> ERC Version 5.3 (GNU Emacs 24.4.1) - how can
> I bind that to an Elisp defun?
I don't use ERC, but a quick skim of its manual suggests you need to
define a command called erc-cmd-R; see (info "(erc) Special Features")
and (info "(erc) Sample Configuration").
See also lisp/erc/erc.el for examples of such commands.
--
Basil