summaryrefslogtreecommitdiff
path: root/lisp/erc
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2022-12-15 23:25:10 -0800
committerF. Jason Park <jp@neverwas.me>2022-12-16 06:36:23 -0800
commit173e02f4eb41853a60d4532d76c3c67324da05a8 (patch)
treefbe8bc59a5b8ee762e420c9f22ca2468fe216af4 /lisp/erc
parent5a9263a87251fddcc5043ef0abb3884e90434e2e (diff)
downloademacs-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 'lisp/erc')
-rw-r--r--lisp/erc/erc-common.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/erc/erc-common.el b/lisp/erc/erc-common.el
index e662c06daa4..da75d50d613 100644
--- a/lisp/erc/erc-common.el
+++ b/lisp/erc/erc-common.el
@@ -130,7 +130,8 @@ canonical name.")
(if val "Enable" "Disable")
" ERC " (symbol-name name) " mode."
(when localp
- "\nWith ARG, do so in all buffers for the current connection."))
+ (concat "\nWhen called interactively,"
+ " do so in all buffers for the current connection.")))
(interactive ,@(when localp '("p")))
,@(if localp
`((when (derived-mode-p 'erc-mode)