Fix command-line parsing for erc-cmd-SQUERY

* lisp/erc/erc.el (erc-cmd-SQUERY): Set symbol property
`do-not-parse-args' to t so additional command-line arguments aren't
parsed but rather included as part of the function's lone (raw) LINE
parameter.  (Bug#67209)

Copyright-paperwork-exempt: yes
This commit is contained in:
Osmo Karppinen 2023-11-17 12:31:50 +02:00 committed by F. Jason Park
parent 80d0ff4612
commit 64174ae148

View file

@ -4591,6 +4591,7 @@ The rest of LINE is the message to send."
The rest of LINE is the message to send."
(erc-message "SQUERY" line))
(put 'erc-cmd-SQUERY 'do-not-parse-args t)
(defun erc-cmd-NICK (nick)
"Change current nickname to NICK."