]> git.eshelyaron.com Git - emacs.git/commit
Warn of future breaking change to erc-response.tags
authorF. Jason Park <jp@neverwas.me>
Tue, 25 Oct 2022 05:58:13 +0000 (22:58 -0700)
committerF. Jason Park <jp@neverwas.me>
Thu, 17 Nov 2022 05:34:36 +0000 (21:34 -0800)
commitd4028ead897464c9799847900b4acb2276acaac6
treeaa77e33da2a211cf91c52c55dfee146ea3655e99
parente7f2f6cd92b924ecdfcf1356560d4a168546677d
Warn of future breaking change to erc-response.tags

* lisp/erc/erc-backend.el (erc-parse-tags-format): New option to
determine type of the `erc-response' "tags" field.
(erc-parse-tags): Defer to internal generic function.
(erc--parse-tags): New function to hold original `erc-parse-tags'
implementation.
(erc--parse-message-tags): New generic function that conditionally
calls `erc--parse-tags', perhaps emitting a warning beforehand.
(erc-parse-server-response): Call `erc--parse-message-tags'.
(Bug#58797.)
lisp/erc/erc-backend.el
lisp/erc/erc-common.el