mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 08:11:05 -08:00
* lisp/erc/erc-speedbar.el (erc-status-sidebar-mode--unhook): Remove forward declaration. (erc-speedbar--toggle-nicknames-sidebar): Inline `erc-speedbar-close-nicknames-window'. Don't call `erc-speedbar-browser' and thus avoid adding excess timers. (erc-speedbar--ensure): Inline `speedbar-enable-update' to avoid unneeded call to `speedbar-set-timer', and ensure it only runs in `speedbar-buffer'. (erc-speedbar--shutting-down-p): New flag variable to avoid recursive calls to `dframe-close-frame' and friends. (erc-nickbar-mode, erc-nickbar-enable, erc-nickbar-disable): Move logic formerly performed by `speedbar-disable-update' to `erc-speedbar--toggle-nicknames-sidebar'. When disabling, guard against recursive calls to `dframe-close-frame' and friends. (erc-speedbar--get-timers): New utility function, also for use in testing. (erc-speedbar--dframe-controlled): Bind `erc-speedbar--shutting-down-p' flag non-nil around call to `erc-nickbar-mode'. Remove excess timer left behind due to incompatible behavior from `dframe-close-frame'. Let caller kill buffer. (erc-speedbar-close-nicknames-window): Remove unused command, new in ERC 5.6 and Emacs 30. * test/lisp/erc/erc-scenarios-status-sidebar.el (erc-speedbar-close-nicknames-window): Remove forward declaration. (erc-speedbar--get-timers): Add forward declaration. (erc-scenarios-status-sidebar--nickbar): Fix faulty expectations of desired behavior when disabling module. Ensure timers canceled. * test/lisp/erc/resources/erc-scenarios-common.el (erc-scenarios-common--make-bindings): Shadow `timer-idle-list' to avoid polluting global test environment with stray timers. (Bug#63595) |
||
|---|---|---|
| .. | ||
| resources | ||
| erc-button-tests.el | ||
| erc-dcc-tests.el | ||
| erc-fill-tests.el | ||
| erc-goodies-tests.el | ||
| erc-join-tests.el | ||
| erc-match-tests.el | ||
| erc-networks-tests.el | ||
| erc-nicks-tests.el | ||
| erc-sasl-tests.el | ||
| erc-scenarios-auth-source.el | ||
| erc-scenarios-base-association-nick.el | ||
| erc-scenarios-base-association-query.el | ||
| erc-scenarios-base-association-samenet.el | ||
| erc-scenarios-base-association.el | ||
| erc-scenarios-base-attach.el | ||
| erc-scenarios-base-auto-recon.el | ||
| erc-scenarios-base-buffer-display.el | ||
| erc-scenarios-base-compat-rename-bouncer.el | ||
| erc-scenarios-base-local-module-modes.el | ||
| erc-scenarios-base-local-modules.el | ||
| erc-scenarios-base-misc-regressions.el | ||
| erc-scenarios-base-netid-bouncer-id.el | ||
| erc-scenarios-base-netid-bouncer-recon-base.el | ||
| erc-scenarios-base-netid-bouncer-recon-both.el | ||
| erc-scenarios-base-netid-bouncer-recon-id.el | ||
| erc-scenarios-base-netid-bouncer.el | ||
| erc-scenarios-base-netid-samenet.el | ||
| erc-scenarios-base-reconnect.el | ||
| erc-scenarios-base-renick.el | ||
| erc-scenarios-base-reuse-buffers.el | ||
| erc-scenarios-base-split-line.el | ||
| erc-scenarios-base-unstable.el | ||
| erc-scenarios-base-upstream-recon-soju.el | ||
| erc-scenarios-base-upstream-recon-znc.el | ||
| erc-scenarios-internal.el | ||
| erc-scenarios-join-auth-source.el | ||
| erc-scenarios-join-display-context.el | ||
| erc-scenarios-join-netid-newcmd-id.el | ||
| erc-scenarios-join-netid-newcmd.el | ||
| erc-scenarios-join-netid-recon-id.el | ||
| erc-scenarios-join-netid-recon.el | ||
| erc-scenarios-log.el | ||
| erc-scenarios-match.el | ||
| erc-scenarios-misc.el | ||
| erc-scenarios-sasl.el | ||
| erc-scenarios-services-misc.el | ||
| erc-scenarios-status-sidebar.el | ||
| erc-services-tests.el | ||
| erc-stamp-tests.el | ||
| erc-tests.el | ||
| erc-track-tests.el | ||