]> git.eshelyaron.com Git - emacs.git/commit
; Make erc--send-input-lines a normal function again
authorF. Jason Park <jp@neverwas.me>
Mon, 1 Jan 2024 08:34:53 +0000 (00:34 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 8 Jan 2024 21:53:44 +0000 (22:53 +0100)
commit4a36f28f634310c982bf4a24bf92aa1fdf25b5f5
tree64ca49e6afbcec0d818e23c5d0a48a8059f970a0
parent385f6d987bbc4f689fe887c004858ccfbd373df1
; Make erc--send-input-lines a normal function again

* lisp/erc/erc.el (erc--send-input-lines): Revert portion of
174b3dd9bd78c662ce9fff78404dcfa02259d21b "Make nested input handling
more robust in ERC" that converted this from a function to a method.
Instead, defer change until it's needed, likely for bug#49860.  Also,
don't inadvertently allow overloading of `insertp' because user code
can legitimately set that to a function, which we then blindly call.
Instead, hard-code it to the only expected alternate display function.

(cherry picked from commit 74f022b2797567ab04405af37b877d94cc4fdca2)
lisp/erc/erc.el