]> git.eshelyaron.com Git - emacs.git/commit
Avoid "shadows" warning from erc-button--nick slots
authorF. Jason Park <jp@neverwas.me>
Sun, 25 Jun 2023 13:15:11 +0000 (06:15 -0700)
committerF. Jason Park <jp@neverwas.me>
Sun, 25 Jun 2023 23:27:58 +0000 (16:27 -0700)
commit34416e21da224e5cb9f447f850ef2dbd3db0bbb0
tree136d21c0f20cdf29498dda98258dfdf5537344a6
parentd2a7b0c76d12d15eb4c6d1cd183c192ad4e872ed
Avoid "shadows" warning from erc-button--nick slots

* lisp/erc/erc-button.el (erc-button-nick): Rename slots that share
names with user options to avoid "lexical argument shadows the dynamic
variable" warning.
(erc-button-add-nickname-buttons): Remove "erc-button-" namespace from
slot accessors.
lisp/erc/erc-button.el