]> git.eshelyaron.com Git - emacs.git/commit
Add compat from GNU ELPA as a soft dependency in ERC
authorF. Jason Park <jp@neverwas.me>
Fri, 8 Jul 2022 11:58:26 +0000 (04:58 -0700)
committerF. Jason Park <jp@neverwas.me>
Wed, 27 Jul 2022 12:19:09 +0000 (05:19 -0700)
commitf6b6614c32f73b0bde3121d39fdfb1d302a97bd8
tree34baeb65dd44c4b1eff886bb0c14a5cfb5a130a9
parentc238f568cddc0502feb058e651907a1baaed3149
Add compat from GNU ELPA as a soft dependency in ERC

* lisp/erc/erc-backend.el (erc-parse-server-response,
erc--parse-isupport-value): Remove sub-28 compat code involving
`string-search'.

* lisp/erc/erc-compat.el: Require compat package, but don't error
when absent.

* lisp/erc/erc-dcc.el (erc-dcc-member): Remove `string-search' compat
code.
(erc-dcc-unquote-filename): Remove `string-replace' compat code.

* lisp/erc/erc-speedbar.el (erc-speedbar-expand-server,
erc-speedbar-expand-channel, erc-speedbar-expand-user): Remove
`string-search' compat code.

* lisp/erc/erc.el: Add compat version 28.1.2.0 to Package-Requires
header and require `erc-compat' after other libraries.
(erc--valid-local-channel-p): Remove `string-search' compat code.
(erc-update-mode-line-buffer): Remove `string-replace' compat code.
(erc-message-english-PART): Remove `string-replace' compat code.
lisp/erc/erc-backend.el
lisp/erc/erc-compat.el
lisp/erc/erc-dcc.el
lisp/erc/erc-speedbar.el
lisp/erc/erc.el