diff options
| author | Amin Bandali | 2021-10-06 21:50:56 -0400 |
|---|---|---|
| committer | Amin Bandali | 2021-10-06 22:06:01 -0400 |
| commit | 5afa07919ee6b2e90ad55048835049eb53faa843 (patch) | |
| tree | 013435b91b91e32951cecfd89654c2c82ea8be41 /src/buffer.c | |
| parent | bc941846d9cc09341ef3c42c26cd3e04e29fe65f (diff) | |
| download | emacs-5afa07919ee6b2e90ad55048835049eb53faa843.tar.gz emacs-5afa07919ee6b2e90ad55048835049eb53faa843.zip | |
Add 'erc-version' and use it to display ERC version consistently
* lisp/erc/erc.el (erc-version): New constant holding the current ERC
version, now used in the function with the same name to produce a
version string for use across ERC for consistency. Also, add another
optional argument, 'bold-erc', which when non-nil, marks the "ERC"
portion of the string with the control character for bold display.
(erc-quit/part-reason-default): Use the 'erc-version' function for a
consistent version string.
(erc-cmd-SV): Mention the ERC version number from the 'erc-version'
constant.
(erc-ctcp-query-VERSION): Use the 'erc-version' function for a
consistent version string.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions