]> git.eshelyaron.com Git - emacs.git/commit
Simplify default text props for ERC input
authorF. Jason Park <jp@neverwas.me>
Thu, 9 Nov 2023 05:20:54 +0000 (21:20 -0800)
committerF. Jason Park <jp@neverwas.me>
Mon, 13 Nov 2023 04:37:48 +0000 (20:37 -0800)
commit583d73e9a0edb8cb79c4a821b39685aa220bbefa
treee19cf6cf8389c8daec9558842ac47f8475f29f29
parent4ed6ba90e7c4d2148a7bb1d2ff1027ebc765f606
Simplify default text props for ERC input

* lisp/erc/erc.el (erc--msg-props): Reformat doc string to improve
readability.
(erc-send-current-line): Don't bind `erc--msg-prop-overrides' because
doing so affects all scoped calls to `erc-display-message' made by
slash commands, etc. and makes handling overly complex and error
prone.
(erc-display-msg): Set `erc-msg' property to `msg' instead of `self'
because the only legitimate use of this function is for inserting
"echoed" prompt input.  (Bug#60936 and Bug#67031)
lisp/erc/erc.el