diff options
author | F. Jason Park <jp@neverwas.me> | 2022-12-15 23:25:10 -0800 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2022-12-16 06:36:23 -0800 |
commit | 173e02f4eb41853a60d4532d76c3c67324da05a8 (patch) | |
tree | fbe8bc59a5b8ee762e420c9f22ca2468fe216af4 /test/lisp/erc/erc-tests.el | |
parent | 5a9263a87251fddcc5043ef0abb3884e90434e2e (diff) | |
download | emacs-173e02f4eb41853a60d4532d76c3c67324da05a8.tar.gz emacs-173e02f4eb41853a60d4532d76c3c67324da05a8.tar.bz2 emacs-173e02f4eb41853a60d4532d76c3c67324da05a8.zip |
; Fix doc string in ERC's module-activation commands
* lisp/erc/erc-common.el (erc--assemble-toggle): Previously, the doc
string implied that a prefix argument was necessary to achieve
connection-wide effects, which might lead a person to think the
interactive code should be an uppercase "P".
* test/lisp/erc/erc-tests.el (define-erc-module--local): Update
expected result of code-gen.
Diffstat (limited to 'test/lisp/erc/erc-tests.el')
-rw-r--r-- | test/lisp/erc/erc-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el index 51c562f5255..578b2641a6d 100644 --- a/test/lisp/erc/erc-tests.el +++ b/test/lisp/erc/erc-tests.el @@ -1331,7 +1331,7 @@ Some docstring" (defun erc-mname-enable (&optional ,arg-en) "Enable ERC mname mode. -With ARG, do so in all buffers for the current connection." +When called interactively, do so in all buffers for the current connection." (interactive "p") (when (derived-mode-p 'erc-mode) (if ,arg-en @@ -1343,7 +1343,7 @@ With ARG, do so in all buffers for the current connection." (defun erc-mname-disable (&optional ,arg-dis) "Disable ERC mname mode. -With ARG, do so in all buffers for the current connection." +When called interactively, do so in all buffers for the current connection." (interactive "p") (when (derived-mode-p 'erc-mode) (if ,arg-dis |