diff options
author | F. Jason Park <jp@neverwas.me> | 2022-07-11 05:14:57 -0700 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2022-11-16 21:34:36 -0800 |
commit | 46c765ed09422767306bd7acfc8422d5ad4cea4a (patch) | |
tree | 9f24e1baa24092c576573aa355f96899a9199fb5 /lisp/emacs-lisp | |
parent | 5699e43f27ef5ca760a38572928be8a53819a430 (diff) | |
download | emacs-46c765ed09422767306bd7acfc8422d5ad4cea4a.tar.gz emacs-46c765ed09422767306bd7acfc8422d5ad4cea4a.tar.bz2 emacs-46c765ed09422767306bd7acfc8422d5ad4cea4a.zip |
Refactor erc-select-read-args
* lisp/erc/erc-backend.el (erc--server-connect-dumb-ipv6-regexp): Add
liberal pattern for matching bracketed IPv6 addresses.
(erc-server-connect): Remove brackets from IPv6 hosts before
connecting.
* lisp/erc/erc.el (erc--ensure-url): Add compat adapter to massage
partial URLs given as input that may be missing the scheme:// portion.
(erc-select-read-args): Keep bracketed IPv6 hosts
intact. Make this function fully URL-aware (was only partially so).
Accept optional `input' argument.
* lisp/erc/erc-tests.el (erc-tests--ipv6-examples,
erc--server-connect-dumb-ipv6-regexp, erc-select-read-args): Add test
reading user input during interactive invocations of entry points.
(Bug#56514.)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions