]> git.eshelyaron.com Git - emacs.git/commit
Reuse command-indicator code for script lines in ERC
authorF. Jason Park <jp@neverwas.me>
Mon, 11 Mar 2024 06:09:59 +0000 (23:09 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:22:06 +0000 (15:22 +0100)
commitfb66ac79afccde7b0492660975a3ac589acbf04a
tree40761dd50d19dc97361a44ba238529a42d3da57e
parentb975c014362becf289231f2ba59863b78d629b63
Reuse command-indicator code for script lines in ERC

* lisp/erc/erc-goodies.el (erc-load-irc-script-lines): Move here from
main file and rework to always use `command-indicator' instead of only
partially, when available.  Also use internal "send-action" and
"send-message" interfaces to defer command-handler output until
command lines have been inserted.
* lisp/erc/erc.el (erc-process-input-line): Redo doc string.
(erc-process-script-line): Fold exceptionally overlong line.
(erc-load-irc-script-lines): Move to erc-goodies.el.  (Bug#67032)

(cherry picked from commit a46789b56af05e4cd31ab90495c9f2a4492a9b19)
lisp/erc/erc-goodies.el
lisp/erc/erc.el