diff options
| author | F. Jason Park | 2023-01-19 21:07:27 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-04-08 14:23:51 -0700 |
| commit | 9aa2806fdc3a440a9f108779f2f4a6972c203aff (patch) | |
| tree | b457247e77e6d7c0e8b4565cc120b17055986011 /java/debug.sh | |
| parent | 5011554529bb874390edfc3060aee960b38e5aff (diff) | |
| download | emacs-9aa2806fdc3a440a9f108779f2f4a6972c203aff.tar.gz emacs-9aa2806fdc3a440a9f108779f2f4a6972c203aff.zip | |
Modify erc-mode-map in module definitions
* lisp/erc/erc-button.el (erc-button-mode, erc-button-enable,
erc-button-disable): Replace call to `erc-button-setup' with one to
`erc--modify-local-map'. This means `erc-button-setup' is now dead
code from a client perspective.
* lisp/erc/erc-goodies.el (erc-irccontrols-enable,
erc-irccontrols-disable, erc-irccontrols-mode): Bind
`erc-toggle-interpret-controls' in module definition so it's only
available when the module is active.
* lisp/erc/erc-log.el (erc-log-mode, erc-log-enable, erc-log-disable):
Move top-level `define-key' into module definition.
* lisp/erc/erc-match.el (erc-match-mode, erc-match-enable,
erc-match-disable): Move top-level `define-key' into module
definition.
* lisp/erc/erc.el (erc-mode-map): Remove C-c C-c binding for
`erc-toggle-interpret-controls'.
(erc--modify-local-map): Add helper for global modules to use when
modifying `erc-mode-map'.
* test/lisp/erc/erc-tests.el (erc--modify-local-map): Add test.
Ensure modifications to `erc-mode-map' on loading `erc' and via
`erc-mode-hook' still work. (Bug#60954.)
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions