diff options
| author | F. Jason Park | 2022-12-18 19:01:40 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-06-11 19:18:14 -0700 |
| commit | e560f9af8e8edb2cd41a08c6b0e8637cbac7b1f5 (patch) | |
| tree | 1ee53d32f428e7d056d862256856ea8e51d83c25 /java | |
| parent | 67f7ac2bbee2f58d919232682f6ea9e7039eb5f3 (diff) | |
| download | emacs-e560f9af8e8edb2cd41a08c6b0e8637cbac7b1f5.tar.gz emacs-e560f9af8e8edb2cd41a08c6b0e8637cbac7b1f5.zip | |
Allow ERC modules to extend erc-nick-popup-alist
* etc/ERC-NEWS: Mention changes to `erc-button-alist' and superficial
changes to `erc-nick-popup-alist'.
* lisp/erc/erc-button.el (erc-nick-popup-alist): Change type to prefer
associating strings with functions instead of arbitrary sexps.
(erc-button-cmd-KICK, erc-button-cmd-MSG): New functions to serve as
interrogative wrappers for `erc-cmd-KICK' and `erc-cmd-MSG' in
`erc-nick-popup-alist'. The first also fixes a bug in which all but
the first token of a given "reason" would be omitted from the
":trailing" portion of an outgoing "KICK" message.
(erc-button--nick-popup-alist): New variable to help built-in modules
expose special actions to `erc-nick-popup' without touching
`erc-nick-popup-alist'.
(erc-nick-popup): Present members from both `erc--nick-popup-alist'
and `erc-nick-popup-alist' to the invoking user. Accommodate
functions as well as arbitrary sexps. (bug#63569)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions