diff options
| author | F. Jason Park | 2023-10-04 20:39:03 -0700 |
|---|---|---|
| committer | F. Jason Park | 2023-10-13 07:47:01 -0700 |
| commit | 9c2f99b7d7325149c6926fa7ccc4e84fa7a695f6 (patch) | |
| tree | 1ddbed8ac293f88a5d58c0e9273255e373697a99 /java | |
| parent | 1950ddebacb73fdc17ebec4da24d74b628c3e0ae (diff) | |
| download | emacs-9c2f99b7d7325149c6926fa7ccc4e84fa7a695f6.tar.gz emacs-9c2f99b7d7325149c6926fa7ccc4e84fa7a695f6.zip | |
Use erc-display-message instead of erc-make-notice
* lisp/erc/erc-backend.el (erc-server-JOIN): Let `erc-display-message'
handle formatting instead of baking out a string. The text ultimately
inserted remains unchanged, but forwarding the original `format-spec'
arguments now has the side effect of influencing text properties, which
conveys richer meaning for modules to act upon when doing things like
deciding whether to hide a given message.
* lisp/erc/erc.el (erc-cmd-IGNORE, erc-cmd-UNIGNORE,
erc--unignore-user, erc-cmd-IDLE, erc-cmd-BANLIST, erc-cmd-MASSUNBAN):
Use `erc-display-message' with `notice' for the TYPE parameter instead
of composing `erc-make-notice' and `erc-display-line'.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions