]> git.eshelyaron.com Git - emacs.git/commit
Decouple disparate escape-hatch concerns in erc-stamp
authorF. Jason Park <jp@neverwas.me>
Sat, 4 Nov 2023 20:48:11 +0000 (13:48 -0700)
committerF. Jason Park <jp@neverwas.me>
Sat, 4 Nov 2023 22:41:14 +0000 (15:41 -0700)
commit4c8510857693812ff7ff635cd0d70f97022792db
tree4019ef9f4b910ae706ab4882d66800fcd6fcc666
parent781f950edab0509f12e3ec4880690ef6541841ee
Decouple disparate escape-hatch concerns in erc-stamp

* lisp/erc/erc-stamp.el (erc-stamp--allow-unmanaged): Improve doc
string.
(erc-stamp--permanent-cursor-sensor-functions): New variable to take
over the formerly provided `cursor-sensor-functions' aspect of the
flag `erc-stamp--allow-unmanaged'.
(erc-add-timestamp): Use
`erc-stamp--permanent-cursor-sensor-functions' instead of
`erc-stamp--allow-unmanaged' in guard condition.
(erc-munge-invisibility-spec): Use dedicated compatibility flag
`erc-stamp--permanent-cursor-sensor-functions' and forgo unnecessary
setup when it's non-nil.  (Bug#60936)
lisp/erc/erc-stamp.el