diff options
| author | F. Jason Park | 2024-04-18 22:18:57 -0700 |
|---|---|---|
| committer | F. Jason Park | 2024-04-19 13:54:52 -0700 |
| commit | 6000e48e0d7d5742ba817942f1b0dbbda9315ddc (patch) | |
| tree | 84fa0d0a8006376e392832161e6170a35da0fdcf /java/org/gnu | |
| parent | 86184cba2180a09b31e92f7366f9dd38de5b976a (diff) | |
| download | emacs-6000e48e0d7d5742ba817942f1b0dbbda9315ddc.tar.gz emacs-6000e48e0d7d5742ba817942f1b0dbbda9315ddc.zip | |
Add erc--skip message property
* lisp/erc/erc-backend.el (erc-server-connect): Add `erc--skip'
property to `erc--msg-prop-overrides' so that timestamps only show up
with the first server-sent message.
(erc-server-PRIVMSG): Move `erc--msg-prop-overrides' declaration to
top-level.
* lisp/erc/erc-button.el (erc-button--display-error-notice-with-keys):
Use `erc--skip' msg prop instead of `erc-stamp--skip' variable.
* lisp/erc/erc-stamp.el (erc-stamp--skip): Remove variable.
(erc-stamp--allow-unmanaged, erc-stamp--allow-unmanaged-p): Rename
former to latter to remain consistent with convention used by other
quasi-internal compatibility-related switches.
(erc-add-timestamp): Check `erc--skip' property instead of deleted
variable `erc-stamp--skip'.
* lisp/erc/erc.el (erc--msg-props): Mention `erc--skip' in doc.
(erc--check-msg-prop): Doc.
(erc--memq-msg-prop): New function.
(erc--ranked-properties): Add `erc--skip'.
* test/lisp/erc/erc-scenarios-stamp.el
(erc-scenarios-stamp--legacy-date-stamps): Revise to expect
"opening connection.." to appear above first stamp.
* test/lisp/erc/erc-tests.el (erc--memq-msg-prop): New test.
(Bug#60936)
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions