diff options
| author | F. Jason Park | 2023-08-07 03:35:56 -0700 |
|---|---|---|
| committer | F. Jason Park | 2023-08-15 16:47:20 -0700 |
| commit | 4b17cc314771532fa1a6a617c3961f44bd2a5e7f (patch) | |
| tree | 8e77601a36b3f2f34114902bfa7473d35e70c81d /src/bytecode.c | |
| parent | 35a670a2f6ca7aae97b7c5c11e57c732c5b31c36 (diff) | |
| download | emacs-4b17cc314771532fa1a6a617c3961f44bd2a5e7f.tar.gz emacs-4b17cc314771532fa1a6a617c3961f44bd2a5e7f.zip | |
Deprecate erc-button-nickname-callback-function
* lisp/erc/erc-button.el (erc-button-nickname-callback-function):
Deprecate this function-valued variable, first introduced in ERC 5.6
and Emacs 30, to dissuade consumers of the old `erc-button-alist'
nickname interface from meddling with the on-click callback of
buttonized nicks. If necessary, third parties can instead add their
own propertizing logic in something like `erc-insert-modify-hook'.
Also change default callback to a wrapper that discards all but the
first arg. This effectively declares that `erc-data' values for
nicknames may contain more than one element in the near future.
(erc-button--perform-nick-popup): New default nick-button callback
function wrapping `erc-nick-popup' in order to adapt it to the
`erc-button-nickname-callback-function' interface. (Bug#60933)
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions