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 /lisp/erc | |
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 'lisp/erc')
-rw-r--r-- | lisp/erc/erc-common.el | 3 |
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) |