如何在每个erc
缓冲区中替换ERC>
提示
例如,如果我在#emacs
频道中,我有一个:
*** arall (~arall@128.205.23.161) has joined channel #emacs [22:40]
ERC>
我想拥有这个:
*** arall (~arall@128.205.23.161) has joined channel #emacs [22:40]
#emacs>
您可以将变量erc-prompt
设置为将返回当前频道名称的功能,例如:
(setq erc-prompt (lambda () (concat (buffer-name) "> ")))