emacs-devel
[Top][All Lists]
Advanced

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

custom ERC IRC /command


From: Emanuel Berg
Subject: custom ERC IRC /command
Date: Sat, 16 Mar 2019 03:10:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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?

In particular, I would like /r to repeat the
previous command, just like it does in zsh:

    $ echo "True sailing is dead"
    True sailing is dead
    $ r
    echo "True sailing is dead"
    True sailing is dead

Except it doesn't have to, eh, "echo" the
previous command input string, just have the
command executed :)

TIA

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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