]> git.eshelyaron.com Git - emacs.git/commit
Clarify warning for process-dependent input in ERC
authorF. Jason Park <jp@neverwas.me>
Tue, 28 Nov 2023 03:41:09 +0000 (19:41 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Dec 2023 20:53:53 +0000 (21:53 +0100)
commitb2378442cd80614f1069108bfafac16f06d6cd54
tree5fdf1ac19799e398ecfcd19ac9b3a2738213f431
parent67eb255535ce595a80aa65a20b50b240a750494e
Clarify warning for process-dependent input in ERC

* lisp/erc/erc.el (erc--check-prompt-input-for-running-process):
Resolve dissonance between content of ancient `user-error' message and
condition that triggered it by favoring the former because it's
supported by the underlying mechanism, which revolves around the
`process-not-needed' symbol property.
* test/lisp/erc/erc-tests.el (erc--check-prompt-input-functions):
Revise expected output for error assertion.  (Bug#66073, originally
from bug#54536, and included for discussion in bug#67677)

(cherry picked from commit 11bae96d23b0e3c726be55c34a0493d49d57d2e8)
lisp/erc/erc.el
test/lisp/erc/erc-tests.el