]> git.eshelyaron.com Git - emacs.git/commit
Populate erc--msg-prop-overrides for CTCP replies
authorF. Jason Park <jp@neverwas.me>
Mon, 18 Dec 2023 05:49:13 +0000 (21:49 -0800)
committerF. Jason Park <jp@neverwas.me>
Sat, 23 Dec 2023 14:34:38 +0000 (06:34 -0800)
commit23d692ed0149e9cda327141082cafdba1e1266fe
tree04a7dd8285b75b0d22312661e7d1ec2fc8023cd0
parent717f917d1de5272d6c24e8a32af1cc698989c41e
Populate erc--msg-prop-overrides for CTCP replies

* lisp/erc/erc-backend.el (erc-server-PRIVMSG): Don't set string
intended for insertion to the undefined return value of
`erc-process-ctcp-reply' and `erc-process-ctcp-query'.  Rework control
flow slightly for clarity.
* lisp/erc/erc.el (erc-process-ctcp-reply): Bind
`erc--msg-prop-overrides' and populate with `erc--ctcp' and `erc--cmd'
"msg props" for the benefit of `erc-display-message' calls made by
the various CTCP reply handlers.  (Bug#67677)
lisp/erc/erc-backend.el
lisp/erc/erc.el