summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-common.el
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2024-11-29 15:56:47 -0800
committerF. Jason Park <jp@neverwas.me>2024-12-20 18:18:02 -0800
commit1c960bda91237c92f9f602bcb8538ad500c0bc49 (patch)
treee84e32174dfb1653b852de397f7f3854d60c21ea /lisp/emacs-lisp/comp-common.el
parente9591fae5e7ba772b63c6cc548bb5ebe68f583e6 (diff)
downloademacs-1c960bda91237c92f9f602bcb8538ad500c0bc49.tar.gz
emacs-1c960bda91237c92f9f602bcb8538ad500c0bc49.tar.bz2
emacs-1c960bda91237c92f9f602bcb8538ad500c0bc49.zip
Use smarter default for erc-server-reconnect-function
* doc/misc/erc.texi (Sample Configuration): Remove customization in `use-package' declaration for `erc-server-reconnect-function' as well as related language in the customization walk-through. Do this because the new default incorporates `erc-server-delayed-check-reconnect' behavior for compatible connect functions. * etc/ERC-NEWS: Announce new default for `erc-server-reconnect-function'. * lisp/erc/erc-backend.el (erc-server-reconnect-function): Change default to `erc-server-prefer-check-reconnect'. (erc-server-delayed-check-reconnect): Use `process-send-string' instead of `send-string'. (erc--server-delayed-check-connectors): New variable. (erc-server-prefer-check-reconnect): New function. * test/lisp/erc/erc-scenarios-base-auto-recon.el (erc-scenarios-base-auto-recon-unavailable) (erc-scenarios-base-auto-recon-no-proto): Remove unnecessary `erc-server-reconnect-function' binding because the new default incorporates the behavior being tested for. * test/lisp/erc/erc-scenarios-base-buffer-display.el (erc-scenarios-base-buffer-display--reconnect-common): * test/lisp/erc/erc-scenarios-base-compat-rename-bouncer.el (erc-scenarios-common--base-compat-no-rename-bouncer): * test/lisp/erc/erc-scenarios-base-netid-bouncer-recon-base.el (erc-scenarios-base-netid-bouncer--recon-base): * test/lisp/erc/erc-scenarios-base-netid-bouncer-recon-both.el (erc-scenarios-base-netid-bouncer--recon-both): * test/lisp/erc/erc-scenarios-base-netid-bouncer-recon-id.el (erc-scenarios-base-netid-bouncer--reconnect-id-foo) (erc-scenarios-base-netid-bouncer--reconnect-id-bar): * test/lisp/erc/erc-scenarios-base-reconnect.el (erc-scenarios-base-reconnect-timer) (erc-scenarios-base-cancel-reconnect): * test/lisp/erc/erc-scenarios-services-misc.el (erc-scenarios-services-misc--reconnect-retry-nick): * test/lisp/erc/erc-scenarios-stamp.el (erc-scenarios-stamp--date-mode/reconnect): Explicitly bind `erc-server-reconnect-function' to `erc-server-delayed-reconnect', the former default, which does not do any probing. (Bug#62044)
Diffstat (limited to 'lisp/emacs-lisp/comp-common.el')
0 files changed, 0 insertions, 0 deletions