my:erc-predicate
Corwin Brust <[email protected]>
| Newsgroups | gmane.emacs.erc.general |
|---|---|
| Message-ID | <CAJf-WoR9=M1tBV_YPm3B2fe4hM3jdwFPdE5KF4FoLViwfJwZ7A@mail.gmail.com> |
I'm using a custom command to clear my tracking indicators from modelines. Does it seem "normal" to have a custom predicate for finding the right buffer or did I miss core functionality I should use instead? This function works great, but to display a message after I had to involve my:erc-predicate (up on line 117), as you can see down at line 155 where I declare erc-cmd-TRACKCLEAR. This seems be working well, meaning I must be ready for suggestions on how to make the code better. TIA for ideas (questions, etc) https://git.sr.ht/~mplscorwin/dotfiles/tree/master/item/elisp/init-erc-30.el#L135[10:56] Corwin