mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
Add test for erc-cmd-SQUERY
* lisp/erc/erc-backend.el (erc-message): Revise doc string. * test/lisp/erc/erc-scenarios-base-misc-regressions.el (erc-cmd-MOTD): Move test to another file specifically for slash commands. * test/lisp/erc/erc-scenarios-misc-commands.el: New file. * test/lisp/erc/resources/base/commands/motd.eld: Move file elsewhere. * test/lisp/erc/resources/commands/motd.eld: "New" file, moved here reusing the same Git blob from now deleted subdir base/commands. * test/lisp/erc/resources/commands/squery.eld: New file. (Bug#67209)
This commit is contained in:
parent
64174ae148
commit
cc7e008dce
5 changed files with 129 additions and 46 deletions
|
|
@ -1284,8 +1284,10 @@ protection algorithm."
|
|||
nil #'erc-server-send-queue buffer)))))))
|
||||
|
||||
(defun erc-message (message-command line &optional force)
|
||||
"Send LINE to the server as a privmsg or a notice.
|
||||
MESSAGE-COMMAND should be either \"PRIVMSG\" or \"NOTICE\".
|
||||
"Send LINE, possibly expanding a target specifier beforehand.
|
||||
Expect MESSAGE-COMMAND to be an IRC command with a single
|
||||
positional target parameter followed by a trailing parameter.
|
||||
|
||||
If the target is \",\", the last person you've got a message from will
|
||||
be used. If the target is \".\", the last person you've sent a message
|
||||
to will be used."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue