]> git.eshelyaron.com Git - emacs.git/commit
Respect user markers in erc-insert-timestamp-left
authorF. Jason Park <jp@neverwas.me>
Thu, 19 Oct 2023 06:20:07 +0000 (23:20 -0700)
committerF. Jason Park <jp@neverwas.me>
Fri, 20 Oct 2023 21:53:24 +0000 (14:53 -0700)
commitbcebda5eec2166e475579c2aa2ee425aeabbb505
treecfc3e9646f1d30639bae321292da52c3bf974dd1
parent47612514a9e04d6f41568c3f0cdeae837c2eae19
Respect user markers in erc-insert-timestamp-left

* lisp/erc/erc-stamp.el (erc-insert-timestamp-left): Convert to normal
function, a mere wrapper that defers to existing generic variants, in
order to dissuade users from adding their own methods, which could
complicate troubleshooting, etc.
(erc--insert-timestamp-left): Rename both methods using internal
double-hyphen convention.  In `erc-stamp--display-margin-mode'
implementation, don't displace third-party markers.
* test/lisp/erc/erc-scenarios-stamp.el: New file.  (Bug#60936)
lisp/erc/erc-stamp.el
test/lisp/erc/erc-scenarios-stamp.el [new file with mode: 0644]